Skip to content

Commit

Permalink
fix: forwardUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Jun 18, 2024
1 parent 493d430 commit 212423c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/utils
6 changes: 3 additions & 3 deletions utils/forwardUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ const extraArgs = process.argv.slice(3).join(' ');
exec(`node lib/utils/utils/${command}.js ${extraArgs}`, (error, stdout, stderr) => {
if (error) {
console.log(error);
return;
process.exit(1);
}
if (stderr) {
console.log(stderr);
return;
process.exit(1);
}
console.log(stdout);
});
});

0 comments on commit 212423c

Please sign in to comment.