You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ -z"$message" ] || die "nvm_check_global_modules should have not printed a notice when npm had only itself installed as a global module"
54
+
[ -z"$message" ] || die "nvm_check_global_modules should have not printed a notice when npm had only itself installed as a global module; got:\n${message}"
53
55
54
56
# Faking the absence of npm
55
57
PATH=".:$PATH"
56
58
touch npm
57
59
chmod +x npm
58
60
59
61
message=$(nvm_check_global_modules)
60
-
[ -z"$message" ] || die "nvm_check_global_modules should have not printed a notice when npm was unavailable"
62
+
[ -z"$message" ] || die "nvm_check_global_modules should have not printed a notice when npm was unavailable; got:\n${message}"
0 commit comments