Skip to content

Commit

Permalink
fix: hide unnecessary error on shasum (#1692)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov authored Dec 4, 2024
1 parent 2ed5abc commit cda5e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ CC_PUBLIC_PGP_KEY=$(curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
then
exit_if_error "Could not verify signature. Please contact Codecov if problem continues"
fi
if ! (shasum -a 256 -c "${cc_filename}.SHA256SUM" || \
if ! (shasum -a 256 -c "${cc_filename}.SHA256SUM" 2>/dev/null || \
sha256sum -c "${cc_filename}.SHA256SUM");
then
exit_if_error "Could not verify SHASUM. Please contact Codecov if problem continues"
Expand Down

0 comments on commit cda5e55

Please sign in to comment.