mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Making sure to quote this output, so that paths with spaces don't break the method.
Although tests were passing in Travis for #470, they were failing locally - now they pass in both.
This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -29,7 +29,7 @@ nvm_download() { | |||||||
| } | } | ||||||
|  |  | ||||||
| nvm_has_system_node() { | nvm_has_system_node() { | ||||||
|   [ $(nvm deactivate 2> /dev/null && command -v node) != '' ] |   [ "$(nvm deactivate 2> /dev/null && command -v node)" != '' ] | ||||||
| } | } | ||||||
|  |  | ||||||
| # Make zsh glob matching behave same as bash | # Make zsh glob matching behave same as bash | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user