Strip trailing whitespace in files (#4575)

* Strip trailing whitespace in rs files

* Strip trailing whitespace in toml files

* Strip trailing whitespace in md files

* Strip trailing whitespace in nu files
This commit is contained in:
Joseph T. Lyons
2022-02-21 08:38:15 -05:00
committed by GitHub
parent 968427c4e9
commit 4f367a59de
33 changed files with 83 additions and 83 deletions

View File

@ -10,7 +10,7 @@ version: ($vers)
($command.usage)
"
let sig = ($command.signature | each { |param|
let sig = ($command.signature | each { |param|
if $param.parameter_type == "positional" {
$"('(')($param.parameter_name)(')')"
} else if $param.parameter_type == "switch" {
@ -56,7 +56,7 @@ $"($example.description)
$example_top + $examples
} else { "" }
let doc = ($top + $signature + $parameters + $examples)
let safe_name = ($command.command | str find-replace '\?' '' | str find-replace ' ' '_')