@starlens-app/cli 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.mjs +3 -1
package/package.json
CHANGED
package/src/index.mjs
CHANGED
|
@@ -1151,7 +1151,9 @@ async function runInstallSkillWizard(args, env) {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
-
|
|
1154
|
+
import { realpathSync } from "node:fs";
|
|
1155
|
+
const _realArgv1 = (() => { try { return realpathSync(process.argv[1]); } catch { return process.argv[1]; } })();
|
|
1156
|
+
if (import.meta.url === `file://${_realArgv1}`) {
|
|
1155
1157
|
main().catch((error) => {
|
|
1156
1158
|
console.error(error instanceof CliError ? error.message : error.stack || error.message);
|
|
1157
1159
|
process.exitCode = error.exitCode ?? 1;
|