Skip to content

Commit 9dafde2

Browse files
committed
fix: update command name in use pypi path
1 parent 473e292 commit 9dafde2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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="codecov"
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)