mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	| @@ -51,6 +51,12 @@ function runSshKeygenCommand(args,cwd,env) { | |||||||
|                 resolve(stdout); |                 resolve(stdout); | ||||||
|             } |             } | ||||||
|         }); |         }); | ||||||
|  |         child.error('error', function(err) { | ||||||
|  |             if (/ENOENT/.test(err.toString())) { | ||||||
|  |                 err.code = "command_not_found"; | ||||||
|  |             } | ||||||
|  |             reject(err); | ||||||
|  |         }); | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user