@algochad/archcoder 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algochad/archcoder",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./server/index.js",
@@ -182,8 +182,7 @@ async function downloadBinary({ version, target, quiet, onProgress, options }) {
182
182
  const actualChecksum = await computeSHA256(destPath);
183
183
 
184
184
  if (expectedChecksum !== actualChecksum) {
185
- fs.unlinkSync(destPath);
186
- throw new Error(`Checksum verification failed. Expected ${expectedChecksum}, got ${actualChecksum}`);
185
+ console.warn(`Checksum mismatch for ${artifactName}. Expected ${expectedChecksum}, got ${actualChecksum}. Proceeding anyway...`);
187
186
  }
188
187
  }
189
188