1
0
Fork 0
refactor/models
Bsian 2020-05-12 17:26:39 +01:00
parent 6e7845b052
commit 60971038d4
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ export default class Util {
cmd.stdout.off('data', writeFunction);
cmd.stderr.off('data', writeFunction);
cmd.off('error', writeFunction);
setTimeout(() => {}, 1000);
if (code !== 0) rej(new Error(output));
res(output);
});