From 76b495a2acffb05e9b96469590db70c20e4501b0 Mon Sep 17 00:00:00 2001 From: Martin Thiele Date: Fri, 6 Dec 2024 19:03:24 +0100 Subject: [PATCH] Fix LICENSE file check in `make-icons.js`script (#2306) --- scripts/make-icons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make-icons.js b/scripts/make-icons.js index ff991645..71e77c49 100644 --- a/scripts/make-icons.js +++ b/scripts/make-icons.js @@ -21,7 +21,7 @@ const srcPath = `./.cache/icons/icons-${version}`; const url = `https://github.com/twbs/icons/archive/v${version}.zip`; try { - await fs.stat(`${srcPath}/LICENSE.md`); + await fs.stat(`${srcPath}/LICENSE`); } catch { // Download the source from GitHub (since not everything is published to npm) await download(url, './.cache/icons', { extract: true });