Tweaked a few things, temporarily disabled yoda due to some issues

This commit is contained in:
TheEssem 2019-12-29 10:56:32 -06:00
parent 3e2f35cbd8
commit 6446cfd9bd
4 changed files with 8 additions and 7 deletions

View file

@ -15,7 +15,7 @@ module.exports = (data, format) => {
resolve(Buffer.concat(chunks));
});
stderr.once("data", (data) => {
reject(String(data));
reject(data.toString());
});
});
} else {
@ -31,7 +31,7 @@ module.exports = (data, format) => {
resolve(Buffer.concat(chunks));
});
stderr.once("data", (data) => {
reject(String(data));
reject(data.toString());
});
});
}