Remove trailing space in nim r command; Amend one error message (#19487)
This commit is contained in:
parent
f019e999d4
commit
516db3bac3
1 changed files with 2 additions and 1 deletions
|
|
@ -116,7 +116,8 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
|
||||||
if cmdPrefix.len > 0: cmdPrefix.add " "
|
if cmdPrefix.len > 0: cmdPrefix.add " "
|
||||||
# without the `cmdPrefix.len > 0` check, on windows you'd get a cryptic:
|
# without the `cmdPrefix.len > 0` check, on windows you'd get a cryptic:
|
||||||
# `The parameter is incorrect`
|
# `The parameter is incorrect`
|
||||||
execExternalProgram(conf, cmdPrefix & output.quoteShell & ' ' & conf.arguments)
|
let cmd = cmdPrefix & output.quoteShell & ' ' & conf.arguments
|
||||||
|
execExternalProgram(conf, cmd.strip(leading=false,trailing=true))
|
||||||
of cmdDocLike, cmdRst2html, cmdRst2tex: # bugfix(cmdRst2tex was missing)
|
of cmdDocLike, cmdRst2html, cmdRst2tex: # bugfix(cmdRst2tex was missing)
|
||||||
if conf.arguments.len > 0:
|
if conf.arguments.len > 0:
|
||||||
# reserved for future use
|
# reserved for future use
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue