committed by
GitHub
parent
dbac03cbce
commit
3e5da3ca2b
@@ -103,6 +103,9 @@ export default class HakEnv {
|
||||
shell: this.isWin(),
|
||||
...options,
|
||||
});
|
||||
proc.on("error", (err) => {
|
||||
reject(err);
|
||||
});
|
||||
proc.on("exit", (code) => {
|
||||
if (code) {
|
||||
reject(code);
|
||||
|
||||
Reference in New Issue
Block a user