diff --git a/tests/gm.nu b/tests/gm.nu index 380125c9..10a233a8 100644 --- a/tests/gm.nu +++ b/tests/gm.nu @@ -12,6 +12,8 @@ def run-with-env [code: closure, --prepare-cache] { GIT_REPOS_CACHE: ($TEST_ENV_BASE | path join "repos.cache"), } + mkdir $TEST_ENV_BASE + if $prepare_cache { with-env $TEST_ENV { gm update-cache } }