diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-19 21:36:40 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-19 21:36:40 +1000 |
commit | 1e440019101bcd26ab425700274103ab5a1c1593 (patch) | |
tree | 5ded96428794a07647d0cdf3a1d4c335365b3337 /pkg/app/app.go | |
parent | 13ac1d151acfc3d402747a969610f1f6a321012e (diff) | |
parent | e6712832b502bf893d11d0c891f5ab1b69242fec (diff) |
Merge branch 'master' into feature/auto-updates
Diffstat (limited to 'pkg/app/app.go')
-rw-r--r-- | pkg/app/app.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go index 98da0b0fa..aaa925e53 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -48,21 +48,21 @@ func NewApp(config config.AppConfigurer) (*App, error) { app.Log = newLogger(config) app.OSCommand, err = commands.NewOSCommand(app.Log) if err != nil { - return nil, err + return app, err } app.Tr, err = i18n.NewLocalizer(app.Log) if err != nil { - return nil, err + return app, err } app.GitCommand, err = commands.NewGitCommand(app.Log, app.OSCommand) if err != nil { - return nil, err + return app, err } app.Gui, err = gui.NewGui(app.Log, app.GitCommand, app.OSCommand, app.Tr, config) if err != nil { - return nil, err + return app, err } return app, nil } |