Skip to content

Commit

Permalink
fix: add exit code to js_binary debug info (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedard committed Feb 17, 2023
1 parent 0461ac9 commit f94b574
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/private/js_binary.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ _exit() {
rm "$STDOUT_CAPTURE"
fi

logf_debug "exit code: %s" "$EXIT_CODE"

exit $EXIT_CODE
}

Expand Down
2 changes: 2 additions & 0 deletions js/private/test/shellcheck_launcher.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ _exit() {
rm "$STDOUT_CAPTURE"
fi

logf_debug "exit code: %s" "$EXIT_CODE"

exit $EXIT_CODE
}

Expand Down

0 comments on commit f94b574

Please sign in to comment.