diff --git a/sources/corepackUtils.ts b/sources/corepackUtils.ts index 85716d32..df33cd05 100644 --- a/sources/corepackUtils.ts +++ b/sources/corepackUtils.ts @@ -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])