mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-09 11:09:21 +00:00
install: some tweaks and clean-up
This commit is contained in:
@@ -25,11 +25,11 @@ setup () {
|
||||
|
||||
setup
|
||||
|
||||
npm install -g nop >/dev/null 2>&1
|
||||
npm install -g nop >/dev/null
|
||||
message=$(nvm_check_global_modules)
|
||||
[ ! -z "$message" ] || die "nvm_check_global_modules should have printed a notice when npm had global modules installed"
|
||||
|
||||
npm uninstall -g nop >/dev/null 2>&1
|
||||
npm uninstall -g nop >/dev/null
|
||||
message=$(nvm_check_global_modules)
|
||||
[ -z "$message" ] || die "nvm_check_global_modules should not have printed a notice when npm had no global modules installed"
|
||||
|
||||
|
Reference in New Issue
Block a user