mirror of
				https://github.com/lukechilds/zsh-nvm.git
				synced 2025-10-30 14:46:28 +08:00 
			
		
		
		
	Check node can be loaded manually in NVM_NO_USE test
This commit is contained in:
		
							parent
							
								
									65869205ac
								
							
						
					
					
						commit
						97fa6ebeab
					
				| @ -18,3 +18,9 @@ load_zsh_nvm | ||||
| 
 | ||||
| # Check node still isn't available | ||||
| [[ "$(node --version)" != "$node_version" ]] || die "node shouldn't be available $(node --version)" | ||||
| 
 | ||||
| # Manually load node | ||||
| nvm use "$node_version" | ||||
| 
 | ||||
| # Check node is a binary | ||||
| [[ "$(command -v node)" != "node" ]] || die "node should now be a binary" | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Luke Childs
						Luke Childs