Skip to content

Commit

Permalink
Fix trailing whitespace in the powershell completion script (#1342)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
  • Loading branch information
Luap99 committed Feb 14, 2021
1 parent 893ebf6 commit ded486a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powershell_completions.go
Expand Up @@ -86,7 +86,7 @@ Register-ArgumentCompleter -CommandName '%[1]s' -ScriptBlock {
# We add an extra empty parameter so we can indicate this to the go method.
__%[1]s_debug "Adding extra empty parameter"
`+" # We need to use `\"`\" to pass an empty argument a \"\" or '' does not work!!!"+`
`+" $RequestComp=\"$RequestComp\" + ' `\"`\"' "+`
`+" $RequestComp=\"$RequestComp\" + ' `\"`\"'"+`
}
__%[1]s_debug "Calling $RequestComp"
Expand Down

0 comments on commit ded486a

Please sign in to comment.