diff --git a/lib/oto/commands/git/git.dart b/lib/oto/commands/git/git.dart index b98440f..b562e07 100644 --- a/lib/oto/commands/git/git.dart +++ b/lib/oto/commands/git/git.dart @@ -18,7 +18,7 @@ class Git extends Command { var process = await ProcessExecutor.start(shell); - return complete(process.exitCode, command, + return complete(await process.process.exitCode, command, errorMessage: process.stderr.toString()); } }