From 889b15683dfdd8b5591e794f89fcfcb77dcea103 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Fri, 10 Feb 2023 11:52:31 -0800 Subject: [PATCH 1/2] Update the atelier cave license file --- styles/src/buildLicenses.ts | 3 +-- styles/src/themes/atelier-cave.ts | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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 From 436ab6e454355e93a7dfcee767f91264e02a2eca Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Fri, 10 Feb 2023 11:58:25 -0800 Subject: [PATCH 2/2] Fix other atelier license --- styles/src/themes/atelier-cave.ts | 4 ++-- styles/src/themes/atelier-sulphurpool.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/styles/src/themes/atelier-cave.ts b/styles/src/themes/atelier-cave.ts index fbd7b87f01..0959cabace 100644 --- a/styles/src/themes/atelier-cave.ts +++ b/styles/src/themes/atelier-cave.ts @@ -56,8 +56,8 @@ export const meta: Meta = { author: "atelierbram", license: { SPDX: "MIT", - https_url: "https://raw.githubusercontent.com/atelierbram/syntax-highlighting/master/LICENSE", + https_url: "https://atelierbram.mit-license.org/license.txt", license_checksum: "f95ce526ef4e7eecf7a832bba0e3451cc1000f9ce63eb01ed6f64f8109f5d0a5" }, - url: "https://atelierbram.mit-license.org/license.txt" + url: "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave/" } \ No newline at end of file diff --git a/styles/src/themes/atelier-sulphurpool.ts b/styles/src/themes/atelier-sulphurpool.ts index 2e2f708442..fa51b1ec80 100644 --- a/styles/src/themes/atelier-sulphurpool.ts +++ b/styles/src/themes/atelier-sulphurpool.ts @@ -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/" } \ No newline at end of file