@krodak/clickup-cli 1.5.1 → 1.5.2
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/.claude-plugin/plugin.json +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clickup-cli",
|
|
3
3
|
"description": "ClickUp CLI skills for managing tasks, sprints, comments, checklists, custom fields, tags, and time tracking via the cup command",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Krzysztof Rodak"
|
|
7
7
|
},
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// src/index.ts
|
|
4
|
+
import { realpathSync } from "fs";
|
|
4
5
|
import { basename, resolve } from "path";
|
|
5
6
|
import { Command } from "commander";
|
|
6
7
|
import { createRequire } from "module";
|
|
@@ -5532,7 +5533,7 @@ process.on("SIGINT", () => {
|
|
|
5532
5533
|
process.stderr.write("\nInterrupted\n");
|
|
5533
5534
|
process.exit(130);
|
|
5534
5535
|
});
|
|
5535
|
-
var isDirectExecution = process.argv[1] !== void 0 && fileURLToPath(import.meta.url) === resolve(process.argv[1]);
|
|
5536
|
+
var isDirectExecution = process.argv[1] !== void 0 && fileURLToPath(import.meta.url) === realpathSync(resolve(process.argv[1]));
|
|
5536
5537
|
if (isDirectExecution) {
|
|
5537
5538
|
await run();
|
|
5538
5539
|
}
|