Skip to content

Commit

Permalink
Make forward cwd to environment optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Mar 6, 2021
1 parent 2189343 commit bfc749c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/run-context.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ RunContext.prototype.build = function (callback = () => {}) {
this.targetDirectory = this.targetDirectory || process.cwd();

const testEnv = this.helpers.createTestEnv(this.envOptions.createEnv, {
cwd: this.targetDirectory,
cwd: this.settings.forwardCwd ? this.targetDirectory : undefined,
...this.options,
...this.envOptions
});
Expand Down

0 comments on commit bfc749c

Please sign in to comment.