1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add debug to sshkeygen

This commit is contained in:
Nick O'Leary 2018-01-19 22:10:29 +00:00
parent a9b50ce6fc
commit c2508296a5
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -33,6 +33,9 @@ function runSshKeygenCommand(args,cwd,env) {
stderr += data;
});
child.on('close', function(code, signal) {
console.log(code);
console.log(stdout);
console.log(stderr);
if (code !== 0) {
var err = new Error(stderr);
err.stdout = stdout;