Skip to content

Commit

Permalink
fix(exec): wrong cwd when running exec module tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Sep 3, 2019
1 parent 729e8cd commit 12987ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/plugins/exec.ts
Original file line number Diff line number Diff line change
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 12987ae

Please sign in to comment.