diff --git a/package-lock.json b/package-lock.json index 0221da22..2b349ff1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "ink-spinner": "4.0.3", "p-queue": "7.3.4", "react": "17.0.2", - "true-myth": "4.1.1", + "true-myth": "7.0.0", "tslib": "2.6.0", "zod": "3.21.4" }, @@ -9019,11 +9019,11 @@ "dev": true }, "node_modules/true-myth": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/true-myth/-/true-myth-4.1.1.tgz", - "integrity": "sha512-rqy30BSpxPznbbTcAcci90oZ1YR4DqvKcNXNerG5gQBU2v4jk0cygheiul5J6ExIMrgDVuanv/MkGfqZbKrNNg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/true-myth/-/true-myth-7.0.0.tgz", + "integrity": "sha512-TUTScXgQ1a3qHwock6Os8njxACps+0wIMVAlUBe0wNzGRkRw0te05+jOnOJ/GRq71QC32U9iGENF8vq+jOHXTw==", "engines": { - "node": "10.* || >= 12.*" + "node": "18.* || >= 20.*" } }, "node_modules/tslib": { diff --git a/package.json b/package.json index 1f6a3975..2c33b195 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "ink-spinner": "4.0.3", "p-queue": "7.3.4", "react": "17.0.2", - "true-myth": "4.1.1", + "true-myth": "7.0.0", "tslib": "2.6.0", "zod": "3.21.4" }, diff --git a/src/bin.tsx b/src/bin.tsx index 95cf4ea3..db393363 100644 --- a/src/bin.tsx +++ b/src/bin.tsx @@ -46,7 +46,7 @@ program return mergeCliArgumentsWithConfig(cliArguments, config); }); - if (glpdArguments.isErr()) { + if (glpdArguments.isErr) { render(Missing or invalid arguments); return; }