diff --git a/styles/src/buildLicenses.ts b/styles/src/buildLicenses.ts index e83496d91d..5026faef4e 100644 --- a/styles/src/buildLicenses.ts +++ b/styles/src/buildLicenses.ts @@ -41,8 +41,7 @@ function getLicenseText(schemeMeta: Meta[], callback: (meta: Meta, license_text: const { statusCode } = res; if (statusCode < 200 || statusCode >= 300) { - throw new Error('Failed to fetch license file.\n' + - `Status Code: ${statusCode}`); + throw new Error(`Failed to fetch license for: ${meta.name}, Status Code: ${statusCode}`); } res.setEncoding('utf8'); diff --git a/styles/src/themes/atelier-cave.ts b/styles/src/themes/atelier-cave.ts index b7b06381d8..fbd7b87f01 100644 --- a/styles/src/themes/atelier-cave.ts +++ b/styles/src/themes/atelier-cave.ts @@ -57,7 +57,7 @@ export const meta: Meta = { license: { SPDX: "MIT", https_url: "https://raw.githubusercontent.com/atelierbram/syntax-highlighting/master/LICENSE", - license_checksum: "6c2353bb9dd0b7b211364d98184ab482e54f40f611eda0c02974c3a1f9e6193c" + license_checksum: "f95ce526ef4e7eecf7a832bba0e3451cc1000f9ce63eb01ed6f64f8109f5d0a5" }, - url: "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave/" + url: "https://atelierbram.mit-license.org/license.txt" } \ No newline at end of file