mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-30 00:45:49 +08:00
The install script only runs in bash.
This commit is contained in:
@@ -15,7 +15,7 @@ safe_type() {
|
||||
safe_type nvm_reset || die 'nvm_reset is not available'
|
||||
|
||||
# Apply nvm_reset
|
||||
nvm_reset
|
||||
nvm_reset || die 'nvm_reset failed'
|
||||
|
||||
# The names should be unset
|
||||
! safe_type nvm_do_install || die 'nvm_do_install is still available'
|
||||
|
||||
Reference in New Issue
Block a user