Merge pull request #2156 from zed-industries/fix-atelier-cave-license

Update the atelier cave license file
This commit is contained in:
Mikayla Maki 2023-02-10 12:04:36 -08:00 committed by GitHub
commit 912c396b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 7 deletions

View File

@ -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');

View File

@ -56,8 +56,8 @@ export const meta: Meta = {
author: "atelierbram",
license: {
SPDX: "MIT",
https_url: "https://raw.githubusercontent.com/atelierbram/syntax-highlighting/master/LICENSE",
license_checksum: "6c2353bb9dd0b7b211364d98184ab482e54f40f611eda0c02974c3a1f9e6193c"
https_url: "https://atelierbram.mit-license.org/license.txt",
license_checksum: "f95ce526ef4e7eecf7a832bba0e3451cc1000f9ce63eb01ed6f64f8109f5d0a5"
},
url: "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave/"
}

View File

@ -35,8 +35,8 @@ export const meta: Meta = {
author: "atelierbram",
license: {
SPDX: "MIT",
https_url: "https://raw.githubusercontent.com/atelierbram/syntax-highlighting/master/LICENSE",
license_checksum: "6c2353bb9dd0b7b211364d98184ab482e54f40f611eda0c02974c3a1f9e6193c"
https_url: "https://atelierbram.mit-license.org/license.txt",
license_checksum: "f95ce526ef4e7eecf7a832bba0e3451cc1000f9ce63eb01ed6f64f8109f5d0a5"
},
url: "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune/"
url: "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool/"
}