diff options
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 } |