diff --git a/dist/codecov.sh b/dist/codecov.sh index 64bddee..5f55e10 100755 --- a/dist/codecov.sh +++ b/dist/codecov.sh @@ -209,7 +209,7 @@ if ! ./$cc_filename \ ${cc_cli_args[*]} \ upload-coverage \ ${token_arg[*]} \ - ${cc_uc_args[*]}; + "${cc_uc_args[@]}"; then exit_if_error "Failed to upload coverage" fi diff --git a/scripts/upload.sh b/scripts/upload.sh index 7c44578..95a8f88 100755 --- a/scripts/upload.sh +++ b/scripts/upload.sh @@ -27,7 +27,7 @@ if ! ./$codecov_filename \ ${codecov_cli_args[*]} \ upload-coverage \ ${token_arg[*]} \ - ${codecov_uc_args[*]}; + "${codecov_uc_args[@]}"; then exit_if_error "Failed to upload coverage" fi