Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Aug 19, 2024
1 parent 9b7a30f commit bed2a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/corepackUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export async function installVersion(installTarget: string, locator: Locator, {s
// @ts-expect-error ignore readonly
build[1] = Buffer.from(integrity.slice(`sha512-`.length), `base64`).toString(`hex`);
} else if (!shouldSkipIntegrityCheck()) {
throw new Error(`Cannot find a signature to validate the download. Please provide a hash.`)
throw new Error(`Cannot find a signature to validate the download. Please provide a hash.`);
}
}
if (build[1] && actualHash !== build[1])
Expand Down

0 comments on commit bed2a1a

Please sign in to comment.