Skip to content

Commit

Permalink
Use HTTP-like error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Oct 15, 2024
1 parent 6cfce8a commit 374bf0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/which.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ try {
}
catch (error) {
if (!silent) console.error(error instanceof Error ? error.message : error);
process.exit(1);
process.exit(404);
}

0 comments on commit 374bf0f

Please sign in to comment.