diff --git a/js/private/js_binary.sh.tpl b/js/private/js_binary.sh.tpl index 0d0e65d57..384e462e1 100644 --- a/js/private/js_binary.sh.tpl +++ b/js/private/js_binary.sh.tpl @@ -108,6 +108,8 @@ _exit() { rm "$STDOUT_CAPTURE" fi + logf_debug "exit code: %s" "$EXIT_CODE" + exit $EXIT_CODE } diff --git a/js/private/test/shellcheck_launcher.sh b/js/private/test/shellcheck_launcher.sh old mode 100755 new mode 100644 index 030394c28..c21e5bba2 --- a/js/private/test/shellcheck_launcher.sh +++ b/js/private/test/shellcheck_launcher.sh @@ -119,6 +119,8 @@ _exit() { rm "$STDOUT_CAPTURE" fi + logf_debug "exit code: %s" "$EXIT_CODE" + exit $EXIT_CODE }