Skip to content

Commit

Permalink
fix spreading of arguments to externals in toolkit (#163)
Browse files Browse the repository at this point in the history
follow up to #156 which
missed the ones in the toolkit
  • Loading branch information
amtoine authored Jan 22, 2024
1 parent 625dc10 commit 1f4153d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolkit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export def "run" [
--config $config_file
]

let res = do { ^$nu.current-exe $nu_args --commands $imports } | complete
let res = do { ^$nu.current-exe ...$nu_args --commands $imports } | complete
if $res.exit_code != 0 {
print $res.stderr
error make --unspanned {
Expand All @@ -136,7 +136,7 @@ export def "run" [
}

with-env ($gm_env | merge {PROMPT_COMMAND: "NU-GIT-MANAGER"}) {
^$nu.current-exe $nu_args --execute $imports
^$nu.current-exe ...$nu_args --execute $imports
}
} else {
if $code == null {
Expand Down

0 comments on commit 1f4153d

Please sign in to comment.