Skip to content

Commit

Permalink
don't set code
Browse files Browse the repository at this point in the history
  • Loading branch information
d-co-white committed Jun 27, 2024
1 parent 91bb580 commit cd9b3d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hawk_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ module.exports.spawnHawk = function spawnHawk(command, args) {
resolve(response);
} else {
const err = new Error(`child exited with code ${code}`);
err.code = code;
err.stderr = stderr;
err.stdout = stdout;
// err.code = code;
// err.stderr = stderr;
// err.stdout = stdout;
reject(err);
}
})
Expand Down

0 comments on commit cd9b3d5

Please sign in to comment.