diff --git a/assets/pipeline-test.yaml b/assets/pipeline-test.yaml index a2d23cb..f7365db 100644 --- a/assets/pipeline-test.yaml +++ b/assets/pipeline-test.yaml @@ -25,6 +25,7 @@ commands: - command: Git id: git param: + workspace: ../dart_framework commands: - restore . - clean -f diff --git a/lib/oto/commands/git/git.dart b/lib/oto/commands/git/git.dart index b562e07..3495966 100644 --- a/lib/oto/commands/git/git.dart +++ b/lib/oto/commands/git/git.dart @@ -16,7 +16,7 @@ class Git extends Command { shell.writeln('git ${getPathNormal(item)}'); } - var process = await ProcessExecutor.start(shell); + var process = await ProcessExecutor.start(shell, workspace: workspace); return complete(await process.process.exitCode, command, errorMessage: process.stderr.toString());