@dev-angsu/cli 1.0.2 → 1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-angsu/cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -139,6 +139,12 @@ export async function run() {
139
139
  }
140
140
  }
141
141
 
142
- if (process.argv[1] === fileURLToPath(import.meta.url)) {
142
+ const currentFile = fileURLToPath(import.meta.url);
143
+ // Check if run directly (robust against symlinks/path variations in CI)
144
+ if (
145
+ process.argv[1] === currentFile ||
146
+ process.argv[1].endsWith("src/utils/engine.js") ||
147
+ process.argv[1].endsWith("review-code")
148
+ ) {
143
149
  run();
144
150
  }