Merge pull request #252 from brunoleemann-code/fix/windows-test-home-dir

Fix cli-plan test failing on Windows
This commit is contained in:
Resham Joshi 2026-05-16 05:18:35 -07:00 committed by GitHub
commit 37fb7f9c3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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',
})