Skip to content

Commit cda5e55

Browse files
fix: hide unnecessary error on shasum (#1692)
1 parent 2ed5abc commit cda5e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/codecov.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ CC_PUBLIC_PGP_KEY=$(curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
112112
then
113113
exit_if_error "Could not verify signature. Please contact Codecov if problem continues"
114114
fi
115-
if ! (shasum -a 256 -c "${cc_filename}.SHA256SUM" || \
115+
if ! (shasum -a 256 -c "${cc_filename}.SHA256SUM" 2>/dev/null || \
116116
sha256sum -c "${cc_filename}.SHA256SUM");
117117
then
118118
exit_if_error "Could not verify SHASUM. Please contact Codecov if problem continues"

0 commit comments

Comments
 (0)