Skip to content

Commit 864620a

Browse files
committed
Use i not 1
1 parent 6ac8172 commit 864620a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49239,7 +49239,7 @@ var validateUploader = function (body) { return __awaiter(void 0, void 0, void 0
4923949239
publicChecksum = _b.sent();
4924049240
uploaderChecksum = calculateChecksum(body, i);
4924149241
if (uploaderChecksum !== publicChecksum.trim()) {
49242-
core.warning("Codecov " + version + " checksums for SHA1 failed to match.\n" +
49242+
core.warning("Codecov " + version + " checksums for SHA" + i + " failed to match.\n" +
4924349243
("Public checksum: " + publicChecksum) +
4924449244
("Uploader checksum: " + uploaderChecksum));
4924549245
return [2 /*return*/, false];

src/validate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const validateUploader = async (body) => {
1616
const uploaderChecksum = calculateChecksum(body, i);
1717
if (uploaderChecksum !== publicChecksum.trim()) {
1818
core.warning(
19-
`Codecov ${version} checksums for SHA1 failed to match.\n` +
19+
`Codecov ${version} checksums for SHA${i} failed to match.\n` +
2020
`Public checksum: ${publicChecksum}` +
2121
`Uploader checksum: ${uploaderChecksum}`,
2222
);

0 commit comments

Comments
 (0)