@jaguilar87/gaia-ops 2.5.2 → 2.5.3
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/bin/gaia-update.js +3 -1
- package/package.json +1 -1
package/bin/gaia-update.js
CHANGED
|
@@ -24,7 +24,9 @@ import ora from 'ora';
|
|
|
24
24
|
|
|
25
25
|
const __filename = fileURLToPath(import.meta.url);
|
|
26
26
|
const __dirname = dirname(__filename);
|
|
27
|
-
|
|
27
|
+
// Use INIT_CWD (npm's original working directory) when available,
|
|
28
|
+
// otherwise fall back to process.cwd()
|
|
29
|
+
const CWD = process.env.INIT_CWD || process.cwd();
|
|
28
30
|
|
|
29
31
|
/**
|
|
30
32
|
* Check if CLAUDE.md exists (to determine if this is first-time install)
|