mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Fix whitespace
This commit is contained in:
		
							
								
								
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -611,8 +611,8 @@ nvm_change_path() { | ||||
|     nvm_echo "${3-}${2-}" | ||||
|   # if the initial path doesn’t contain an nvm path, prepend the supplementary | ||||
|   # path | ||||
|   elif ! echo "${1-}" | nvm_grep -q "${NVM_DIR}/[^/]*${2-}" && \ | ||||
|        ! echo "${1-}" | nvm_grep -q "${NVM_DIR}/versions/[^/]*/[^/]*${2-}"; then | ||||
|   elif ! echo "${1-}" | nvm_grep -q "${NVM_DIR}/[^/]*${2-}" \ | ||||
|     && ! echo "${1-}" | nvm_grep -q "${NVM_DIR}/versions/[^/]*/[^/]*${2-}"; then | ||||
|     nvm_echo "${3-}${2-}:${1-}" | ||||
|   # use sed to replace the existing nvm path with the supplementary path. This | ||||
|   # preserves the order of the path. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user