Skip to content

Commit b636c79

Browse files
Merge pull request #64 from codecov/joseph/new-cli
fix: update command name in use pypi path
2 parents 473e292 + 88ac160 commit b636c79

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

scripts/download.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ then
1515
exit_if_error "Could not install via pypi."
1616
exit
1717
fi
18-
CODECOV_COMMAND="${CODECOV_CLI_TYPE}"
18+
if [[ "$CODECOV_CLI_TYPE" == "codecov-cli" ]]; then
19+
CODECOV_COMMAND="codecovcli"
20+
elif [[ "$CODECOV_CLI_TYPE" == "sentry-prevent-cli" ]]; then
21+
CODECOV_COMMAND="sentry-prevent-cli"
22+
else
23+
CODECOV_COMMAND="${CODECOV_CLI_TYPE}"
24+
fi
1925
else
2026
if [ -n "$CODECOV_OS" ];
2127
then

0 commit comments

Comments
 (0)