diff --git a/lib/index.js b/lib/index.js index 4fc5a23..787d2d1 100644 --- a/lib/index.js +++ b/lib/index.js @@ -4651,8 +4651,7 @@ function readIdxFile(path) { const { data: packFileOffsets } = readIdxListing(idxFile, endCrc, 4, size); const hashMap = {}; shaListing.forEach((sha, index) => { - const shaString = sha.toString("hex").replace("'", ""); - hashMap[shaString] = packFileOffsets[index]; + hashMap[sha.toString("hex")] = packFileOffsets[index]; }); return hashMap; } diff --git a/package-lock.json b/package-lock.json index 1b9ae7d..1224629 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@actions/artifact": "^1.1.1", "@actions/core": "^1.10.0", "@actions/github": "^5.1.1", - "@dev-build-deploy/commit-it": "^0.2.1", + "@dev-build-deploy/commit-it": "^0.3.1", "@dev-build-deploy/version-it": "^0.1.4", "yaml": "^2.3.1" }, @@ -671,9 +671,9 @@ "dev": true }, "node_modules/@dev-build-deploy/commit-it": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@dev-build-deploy/commit-it/-/commit-it-0.2.1.tgz", - "integrity": "sha512-a51JHcdxgZNjwc5TFgdG3SsoGNtDUTBUUwc2YLVyNi58FqVlyfdeHwEfha8wgTGsgQwR6JD+mVAMvdQYfSw34A==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@dev-build-deploy/commit-it/-/commit-it-0.3.1.tgz", + "integrity": "sha512-DUTYWdrcO8Y64PVFJKy2g54HjmGQqYbjXzStNA6vgWdQvXcUo4RlnhLAOUbYEuP2ffNvCyFpfhR8+Qlu2YaBRg==", "dependencies": { "@dev-build-deploy/diagnose-it": "^0.0.13" } diff --git a/package.json b/package.json index d73fc47..a887c6c 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@actions/artifact": "^1.1.1", "@actions/core": "^1.10.0", "@actions/github": "^5.1.1", - "@dev-build-deploy/commit-it": "^0.2.1", + "@dev-build-deploy/commit-it": "^0.3.1", "@dev-build-deploy/version-it": "^0.1.4", "yaml": "^2.3.1" },