Skip to content

Commit

Permalink
fix: windows homedir
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Feb 25, 2021
1 parent 253a16a commit aafc2d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ export class TestSession {
transferExistingAuthToEnv();

// Set the homedir used by this test, on the TestSession and the process
// TODO: does this work on Windows?
process.env.HOME = this.homeDir = env.getString('TESTKIT_HOMEDIR', this.dir);
process.env.USERPROFILE = process.env.HOME = this.homeDir = env.getString('TESTKIT_HOMEDIR', this.dir);

process.env.SFDX_USE_GENERIC_UNIX_KEYCHAIN = 'true';
testkitHubAuth(this.homeDir);
// Run all setup commands
Expand Down

0 comments on commit aafc2d2

Please sign in to comment.