diff --git a/dist/codecov.sh b/dist/codecov.sh index 44fdf69..065c30d 100755 --- a/dist/codecov.sh +++ b/dist/codecov.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -CC_WRAPPER_VERSION="0.0.33" +CC_WRAPPER_VERSION="0.0.34" set +u say() { echo -e "$1" @@ -232,6 +232,9 @@ cc_run_args+=( $(k_arg SHA) $(v_arg SHA)) cc_run_args+=( $(write_truthy_args CC_FAIL_ON_ERROR) ) cc_run_args+=( $(k_arg GIT_SERVICE) $(v_arg GIT_SERVICE)) cc_run_args+=( $(k_arg SLUG) $(v_arg SLUG)) +else + exit_if_error "Invalid run command specified: $CC_RUN_COMMAND" + exit fi unset NODE_OPTIONS # See https://github.com/codecov/uploader/issues/475 diff --git a/src/scripts b/src/scripts index 112aab5..fc1e2e7 160000 --- a/src/scripts +++ b/src/scripts @@ -1 +1 @@ -Subproject commit 112aab5a628482f99f6962a51b18fd47795fd969 +Subproject commit fc1e2e73ced08ad84f9e9b67f853e3b67108eddf