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:
parent
a9b50ce6fc
commit
c2508296a5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user