Skip to content

Commit

Permalink
return nothing from test / install in toolkit (#153)
Browse files Browse the repository at this point in the history
this is to avoid having "empty list" messages produces by the inner `nu`
process
  • Loading branch information
amtoine authored Dec 20, 2023
1 parent 3afdf90 commit 0d45894
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions toolkit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export def "test" [
(list-modules-of-workspace) | each {|pkg|
nupm test ($pattern) ($args) --dir \($pkg | path dirname\)
}
null
"
}

Expand All @@ -38,9 +40,9 @@ export def "install" []: nothing -> nothing {
(list-modules-of-workspace) | each {|pkg|
nupm install --force --path \($pkg | path dirname\)
}
"
null
null
"
}

# run some code inside an isolated environment
Expand Down

0 comments on commit 0d45894

Please sign in to comment.