From 857716e3571a7620921d67bc6a94b6483672d715 Mon Sep 17 00:00:00 2001 From: Krutoy242 Date: Fri, 27 Sep 2024 11:11:04 +0300 Subject: [PATCH] =?UTF-8?q?build:=20=F0=9F=9A=A7=20Dev=20Environment=20cha?= =?UTF-8?q?nges?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/make_pack.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev/make_pack.js b/dev/make_pack.js index 50a0eff63..2dbd77ae6 100644 --- a/dev/make_pack.js +++ b/dev/make_pack.js @@ -130,8 +130,13 @@ const argv = yargs(process.argv.slice(2)) execSyncInherit(`npx conventional-changelog-cli --config dev/tools/changelog/config.cjs -o ${latestPath}`) // Iconize - execSyncInherit(`ts-node E:/dev/mc-icons/src/cli.ts "${latestPath}" --silent --no-short --modpack=e2ee --treshold=2`) - await git.add(latestPath) + try { + execSyncInherit(`ts-node E:/dev/mc-icons/src/cli.ts "${latestPath}" --silent --no-short --modpack=e2ee --treshold=2`) + await git.add(latestPath) + } + catch (error) { + write(`ERROR: ${error}`) + } await open(latestPath, { wait: true })