@byte5ai/palaia 1.4.0 → 1.5.0
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/src/runner.ts +4 -1
package/package.json
CHANGED
package/src/runner.ts
CHANGED
|
@@ -121,7 +121,10 @@ function execCommand(
|
|
|
121
121
|
timeout,
|
|
122
122
|
maxBuffer: 1024 * 1024, // 1MB
|
|
123
123
|
cwd: opts.cwd,
|
|
124
|
-
env: {
|
|
124
|
+
env: {
|
|
125
|
+
...process.env,
|
|
126
|
+
...(opts.cwd ? { PALAIA_HOME: opts.cwd } : {}),
|
|
127
|
+
},
|
|
125
128
|
},
|
|
126
129
|
(error, stdout, stderr) => {
|
|
127
130
|
if (error && (error as any).killed) {
|