Skip to content

Commit

Permalink
Merge pull request #22 from CTS-NL/fixing_exit_codes_again
Browse files Browse the repository at this point in the history
Fixing exit codes again
  • Loading branch information
devthedevel authored Aug 24, 2024
2 parents ce35fb5 + e12fb26 commit e89c0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/post-jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ module.exports = async (dataRoot, date = moment()) => {

if (todaysPosts.length === 0) {
console.log(`There are no job posts for ${date.format("MM DD YYYY")}`);
process.exitCode = 1;
process.exitCode = 2; // Soft error, no need to return exitCode 1
return;
}

Expand Down

0 comments on commit e89c0e7

Please sign in to comment.