From 0d458942e9f20793eae975ae86585c030168ac9d Mon Sep 17 00:00:00 2001 From: Antoine Stevan <44101798+amtoine@users.noreply.github.com> Date: Wed, 20 Dec 2023 12:09:01 +0100 Subject: [PATCH] return nothing from `test` / `install` in toolkit (#153) this is to avoid having "empty list" messages produces by the inner `nu` process --- toolkit.nu | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/toolkit.nu b/toolkit.nu index fd3345e..7ec398d 100644 --- a/toolkit.nu +++ b/toolkit.nu @@ -27,6 +27,8 @@ export def "test" [ (list-modules-of-workspace) | each {|pkg| nupm test ($pattern) ($args) --dir \($pkg | path dirname\) } + + null " } @@ -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