mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Handle host key verification as auth error
This commit is contained in:
		| @@ -55,6 +55,9 @@ function runGitCommand(args,cwd,env) { | ||||
|                     err.code = "git_auth_failed"; | ||||
|                 } else if(/Permission denied \(publickey\)/.test(stderr)) { | ||||
|                     err.code = "git_auth_failed"; | ||||
|                 } else if(/Host key verification failed/.test(stderr)) { | ||||
|                     // TODO: handle host key verification errors separately | ||||
|                     err.code = "git_auth_failed"; | ||||
|                 } else if(/Connection refused/.test(stderr)) { | ||||
|                     err.code = "git_connection_failed"; | ||||
|                 } else if (/commit your changes or stash/.test(stderr)) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user