Skip to content

Commit

Permalink
Merge pull request #1149 from garden-io/fix-exec-test-path
Browse files Browse the repository at this point in the history
fix(exec): wrong cwd when running `exec` module tests
  • Loading branch information
eysi09 committed Sep 3, 2019
2 parents 729e8cd + 12987ae commit 8afa8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/plugins/exec.ts
Expand Up @@ -163,7 +163,7 @@ export async function testExecModule({ module, testConfig }: TestModuleParams<Ex
const result = await execa.shell(
command.join(" "),
{
cwd: module.path,
cwd: module.buildPath,
env: {
...process.env,
// need to cast the values to strings
Expand Down

0 comments on commit 8afa8f6

Please sign in to comment.