mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	install: Adding global-module check to function resets
This commit is contained in:
		| @@ -216,7 +216,9 @@ nvm_do_install() { | |||||||
| # during the execution of the install script | # during the execution of the install script | ||||||
| # | # | ||||||
| nvm_reset() { | nvm_reset() { | ||||||
|   unset -f nvm_do_install nvm_has nvm_download install_nvm_as_script install_nvm_from_git nvm_reset nvm_detect_profile nvm_latest_version |   unset -f nvm_reset nvm_has nvm_latest_version \ | ||||||
|  |     nvm_source nvm_download install_nvm_as_script install_nvm_from_git \ | ||||||
|  |     nvm_detect_profile nvm_check_global_modules nvm_do_install  | ||||||
| } | } | ||||||
|  |  | ||||||
| [ "_$NVM_ENV" = "_testing" ] || nvm_do_install | [ "_$NVM_ENV" = "_testing" ] || nvm_do_install | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user