Skip to content

Commit

Permalink
Use i not 1
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Apr 16, 2021
1 parent 6ac8172 commit 864620a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49239,7 +49239,7 @@ var validateUploader = function (body) { return __awaiter(void 0, void 0, void 0
publicChecksum = _b.sent();
uploaderChecksum = calculateChecksum(body, i);
if (uploaderChecksum !== publicChecksum.trim()) {
core.warning("Codecov " + version + " checksums for SHA1 failed to match.\n" +
core.warning("Codecov " + version + " checksums for SHA" + i + " failed to match.\n" +
("Public checksum: " + publicChecksum) +
("Uploader checksum: " + uploaderChecksum));
return [2 /*return*/, false];
Expand Down
2 changes: 1 addition & 1 deletion src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const validateUploader = async (body) => {
const uploaderChecksum = calculateChecksum(body, i);
if (uploaderChecksum !== publicChecksum.trim()) {
core.warning(
`Codecov ${version} checksums for SHA1 failed to match.\n` +
`Codecov ${version} checksums for SHA${i} failed to match.\n` +
`Public checksum: ${publicChecksum}` +
`Uploader checksum: ${uploaderChecksum}`,
);
Expand Down

0 comments on commit 864620a

Please sign in to comment.