Skip to content

Commit

Permalink
fixed error with bool that was a string lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Dingsel committed May 21, 2024
1 parent 303c0cc commit 6abf91b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmca-build-src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion cmca-build-src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cmca-build",
"version": "0.1.1",
"version": "0.1.2",
"type": "module",
"keywords": [
"Minecraft",
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-mca",
"version": "0.1.1",
"version": "0.1.2",
"type": "module",
"keywords": [
"Minecraft",
Expand Down

0 comments on commit 6abf91b

Please sign in to comment.