Skip to content

Commit

Permalink
chore: pass result as code
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed May 17, 2024
1 parent 0289e5c commit 04e648b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const scripts = {
);

if (result < 0) {
throw scripts.finishedErrors(code, jobId, 'addLog');
throw scripts.finishedErrors(result, jobId, 'addLog');
}

return result;
Expand Down

0 comments on commit 04e648b

Please sign in to comment.