diff --git a/lib/oto/commands/git/git.dart b/lib/oto/commands/git/git.dart index 85596b3..79a1a21 100644 --- a/lib/oto/commands/git/git.dart +++ b/lib/oto/commands/git/git.dart @@ -16,10 +16,9 @@ class Git extends Command { shell.write('&& git ${getPathNormal(item)}'); } - var process = await ProcessExecutor.start(shell, - workspace: workspace, printStderr: false); + var process = await ProcessExecutor.run(shell, workspace: workspace); - return complete(await process.process.exitCode, command, + return complete(process.exitCode, command, errorMessage: process.stderr.toString()); } }