Skip to content

Commit

Permalink
test: Pass HOME to task runner process
Browse files Browse the repository at this point in the history
To hopefully fix

```
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_homedir returned ENOENT (no such file or directory)
```
  • Loading branch information
tomi committed Jan 21, 2025
1 parent 3395443 commit ff5e394
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/task-runners/task-runner-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class TaskRunnerProcess extends TypedEmitter<TaskRunnerProcessEventMap> {

private readonly passthroughEnvVars = [
'PATH',
'HOME', // So home directory can be resolved correctly
'GENERIC_TIMEZONE',
'NODE_FUNCTION_ALLOW_BUILTIN',
'NODE_FUNCTION_ALLOW_EXTERNAL',
Expand Down

0 comments on commit ff5e394

Please sign in to comment.