diff --git a/styles/src/buildLicenses.ts b/styles/src/buildLicenses.ts index e83496d91de465a845f61996fc61d60ae1d300d3..5026faef4ecac87c4d929829d8aa5e666968c81f 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 b7b06381d8b8ddd908b99041e4a4c4bc08a68b09..fbd7b87f016e1867a3f63feb16f30b5314575d00 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