diff options
Diffstat (limited to 'pkg/app/app.go')
-rw-r--r-- | pkg/app/app.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go index f24af6e58..d4e3e15f7 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -146,7 +146,7 @@ func NewApp(config config.AppConfigurer, filterPath string) (*App, error) { } func (app *App) validateGitVersion() error { - output, err := app.OSCommand.RunCommandWithOutput("git --version") + output, err := app.OSCommand.RunWithOutput(app.OSCommand.NewCmdObj("git --version")) // if we get an error anywhere here we'll show the same status minVersionError := errors.New(app.Tr.MinGitVersionError) if err != nil { @@ -231,7 +231,7 @@ func (app *App) setupRepo() (bool, error) { os.Exit(1) } - if err := app.OSCommand.RunCommand("git init"); err != nil { + if err := app.OSCommand.Run(app.OSCommand.NewCmdObj("git init")); err != nil { return false, err } } |