library-skills 0.0.3 → 0.0.4
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/ts/dist/cli.js +2 -2
package/package.json
CHANGED
package/ts/dist/cli.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// ts/src/cli.ts
|
|
4
4
|
import checkbox from "@inquirer/checkbox";
|
|
5
5
|
import { Command } from "commander";
|
|
6
|
-
import { statSync as statSync4 } from "fs";
|
|
6
|
+
import { realpathSync as realpathSync2, statSync as statSync4 } from "fs";
|
|
7
7
|
import { isAbsolute as isAbsolute3, relative as relative3, resolve as resolve4 } from "path";
|
|
8
8
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
9
9
|
|
|
@@ -1289,7 +1289,7 @@ function exists(path) {
|
|
|
1289
1289
|
return false;
|
|
1290
1290
|
}
|
|
1291
1291
|
}
|
|
1292
|
-
if (process.argv[1] && fileURLToPath2(import.meta.url) === resolve4(process.argv[1])) {
|
|
1292
|
+
if (process.argv[1] && realpathSync2(fileURLToPath2(import.meta.url)) === realpathSync2(resolve4(process.argv[1]))) {
|
|
1293
1293
|
main().catch((error) => {
|
|
1294
1294
|
console.error(error);
|
|
1295
1295
|
process.exit(1);
|