refactor: fixed checksum key
This commit is contained in:
parent
4dd31d13de
commit
0b4d9af9ef
3 changed files with 3 additions and 3 deletions
2
dist/pre/index.js
vendored
2
dist/pre/index.js
vendored
|
|
@ -88012,7 +88012,7 @@ function verifyChecksum(downloadPath, isTLS, variant, platform) {
|
|||
: CHECKSUMS["non_tls"][variant];
|
||||
break;
|
||||
case "darwin":
|
||||
expectedChecksum = CHECKSUMS["darwin"][variant];
|
||||
expectedChecksum = CHECKSUMS["darwin"];
|
||||
break;
|
||||
default:
|
||||
throw new Error(`Unsupported platform: ${platform}`);
|
||||
|
|
|
|||
2
dist/pre/index.js.map
vendored
2
dist/pre/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -34,7 +34,7 @@ export function verifyChecksum(
|
|||
: CHECKSUMS["non_tls"][variant];
|
||||
break;
|
||||
case "darwin":
|
||||
expectedChecksum = CHECKSUMS["darwin"][variant];
|
||||
expectedChecksum = CHECKSUMS["darwin"];
|
||||
break;
|
||||
default:
|
||||
throw new Error(`Unsupported platform: ${platform}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue