mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2026-06-17 00:25:26 +00:00
fix: add proc.on('error') handler to prevent hanging on spawn failure
This commit is contained in:
parent
71b8eb300f
commit
c81b43c5bf
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -51,4 +51,6 @@ module.exports = (options, callback) => {
|
||||
}
|
||||
callback(error, stdout, stderr, cmd);
|
||||
});
|
||||
|
||||
proc.on('error', (err) => callback(err, stdout, stderr, cmd));
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user