Change summary
styles/src/buildLicenses.ts | 3 +--
styles/src/themes/atelier-cave.ts | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
Detailed changes
@@ -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');
@@ -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"
}