From ecc8a0061cb2f8e8cb0fbebcf31e5dd45acbc248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1dn=C3=ADk?= Date: Wed, 10 Apr 2024 23:22:25 +0300 Subject: [PATCH] Make path crossplatform Co-authored-by: Antoine Stevan <44101798+amtoine@users.noreply.github.com> --- tests/mod.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mod.nu b/tests/mod.nu index bea2071..8587076 100644 --- a/tests/mod.nu +++ b/tests/mod.nu @@ -163,7 +163,7 @@ export def generate-local-registry [] { [spam_script spam_script_old spam_custom spam_module] | each {|pkg| cd ([tests packages $pkg] | path join) - nupm publish $tmp_reg_file --local --save --path $'../($pkg)' + nupm publish $tmp_reg_file --local --save --path (".." | path join $pkg) } let actual = open $tmp_reg_file | to nuon