Add warning for why we don't log errors

This commit is contained in:
zkldi
2022-03-03 03:43:20 +00:00
parent 147f78171a
commit f9c162fc11
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ export function asyncExec(command: string) {
exec(command, (err, stdout, stderr) => {
if (err) {
// eslint-disable-next-line prefer-promise-reject-errors
return reject({ stdout, stderr, err });
return reject({ err, stdout, stderr });
}
return resolve({ stdout, stderr });