pkg/git : remove panic in SetupGit method

This commit is contained in:
Anthony HAMON 2018-08-29 21:47:48 +02:00
parent 19a8029795
commit 624d63d2fa
2 changed files with 41 additions and 16 deletions

View file

@ -48,6 +48,12 @@ func main() {
app.Log.Error(err.Error())
panic(err)
}
app.GitCommand.SetupGit()
if err := app.GitCommand.SetupGit(); err != nil {
app.Log.Error(err.Error())
fmt.Println(err)
os.Exit(1)
}
app.Gui.RunWithSubprocesses()
}