Skip to content

Commit

Permalink
fix: force --codecov-yml-path
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Nov 21, 2024
1 parent 09d9636 commit 43d9f95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion dist/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ fi
cc_cli_args=()
cc_cli_args+=( $(k_arg AUTO_LOAD_PARAMS_FROM) $(v_arg AUTO_LOAD_PARAMS_FROM))
cc_cli_args+=( $(k_arg ENTERPRISE_URL) $(v_arg ENTERPRISE_URL))
cc_cli_args+=( $(k_arg YML_PATH) $(v_arg YML_PATH))
if [ -n $CC_YML_PATH ]
then
cc_cli_args+=( "--codecov-yml-path" )
cc_cli_args+=( "$CC_YML_PATH" )
fi
cc_cli_args+=( $(write_truthy_args CC_VERBOSE) )
cc_cc_args=()
cc_cc_args+=( $(write_truthy_args CC_FAIL_ON_ERROR) )
Expand Down
6 changes: 5 additions & 1 deletion scripts/set_cli_args.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ codecov_cli_args=()

codecov_cli_args+=( $(k_arg AUTO_LOAD_PARAMS_FROM) $(v_arg AUTO_LOAD_PARAMS_FROM))
codecov_cli_args+=( $(k_arg ENTERPRISE_URL) $(v_arg ENTERPRISE_URL))
codecov_cli_args+=( $(k_arg YML_PATH) $(v_arg YML_PATH))
if [ -n $CODECOV_YML_PATH ]
then
codecov_cli_args+=( "--codecov-yml-path" )
codecov_cli_args+=( "$CODECOV_YML_PATH" )
fi
codecov_cli_args+=( $(write_truthy_args CODECOV_VERBOSE) )

0 comments on commit 43d9f95

Please sign in to comment.