mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-16 19:44:14 +00:00
Merge pull request #252 from brunoleemann-code/fix/windows-test-home-dir
Fix cli-plan test failing on Windows
This commit is contained in:
commit
37fb7f9c3e
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ function runCli(args: string[], home: string) {
|
|||
env: {
|
||||
...process.env,
|
||||
HOME: home,
|
||||
USERPROFILE: home, // os.homedir() uses USERPROFILE on Windows
|
||||
HOMEPATH: home,
|
||||
HOMEDRIVE: '',
|
||||
},
|
||||
encoding: 'utf-8',
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue