mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	Remove unused $ROOT variable.
This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -786,8 +786,6 @@ nvm() { | |||||||
|         return 127 |         return 127 | ||||||
|       fi |       fi | ||||||
|       VERSION=$(nvm_version "$2") |       VERSION=$(nvm_version "$2") | ||||||
|       local ROOT |  | ||||||
|       ROOT=$(nvm use $VERSION && npm -g root) |  | ||||||
|  |  | ||||||
|       # declare local INSTALLS first, otherwise it doesn't work in zsh |       # declare local INSTALLS first, otherwise it doesn't work in zsh | ||||||
|       local INSTALLS |       local INSTALLS | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user