From 6abf91bb614eadb8fdb59936327781a811e2b0c5 Mon Sep 17 00:00:00 2001 From: Dingsel Date: Tue, 21 May 2024 02:50:03 +0200 Subject: [PATCH] fixed error with bool that was a string lol --- cmca-build-src/build.js | 4 ++-- cmca-build-src/package.json | 2 +- src/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmca-build-src/build.js b/cmca-build-src/build.js index 7be7b66..4e3dd0e 100644 --- a/cmca-build-src/build.js +++ b/cmca-build-src/build.js @@ -18,12 +18,12 @@ const tsEntry = "./BP/scripts/main.ts" try { /** - * @type {{envMode : "dev" | "release", bundlerType : import("./types").BundlerType, ts : boolean}} + * @type {{envMode : "dev" | "release", bundlerType : import("./types").BundlerType, ts : string}} */ const startOptions = JSON.parse(process.argv[2]) startOptions.envMode === "release" && (isDev = false) startOptions.bundlerType && (bundlerType = startOptions.bundlerType) - ts = startOptions.ts + ts = JSON.parse(startOptions.ts) } catch (error) { console.error("Error Parsing Start Args", error) } diff --git a/cmca-build-src/package.json b/cmca-build-src/package.json index b7f970b..12eecf1 100644 --- a/cmca-build-src/package.json +++ b/cmca-build-src/package.json @@ -1,6 +1,6 @@ { "name": "cmca-build", - "version": "0.1.1", + "version": "0.1.2", "type": "module", "keywords": [ "Minecraft", diff --git a/src/package.json b/src/package.json index f0ba3d4..4377d84 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "create-mca", - "version": "0.1.1", + "version": "0.1.2", "type": "module", "keywords": [ "Minecraft",