marketing-agent-team 1.0.3 → 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/install.js +2 -2
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -35,7 +35,7 @@ function log(message, color = 'reset') {
|
|
|
35
35
|
|
|
36
36
|
// Find the actual project root (handles npm install context)
|
|
37
37
|
function getProjectRoot() {
|
|
38
|
-
let currentDir =
|
|
38
|
+
let currentDir = process.cwd();
|
|
39
39
|
|
|
40
40
|
// If we're in node_modules, traverse up to find the project root
|
|
41
41
|
while (currentDir !== path.parse(currentDir).root) {
|
|
@@ -60,7 +60,7 @@ function getProjectRoot() {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
// Fallback to current directory
|
|
63
|
-
return
|
|
63
|
+
return process.cwd();
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
// Get project root once at startup
|
package/package.json
CHANGED