summaryrefslogtreecommitdiffstats
path: root/pkg/app
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-08-27 18:50:24 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-08-27 18:50:24 +1000
commita1c6adab59e742adc6d4207fecd41c7fd18ceeca (patch)
tree271a241834ac586141b6ff188fd7ac8c44681c4b /pkg/app
parent540edc0c35e97393d9a01c927f7ac962bcbf6d37 (diff)
parente72d090c5c9e426d11bbcf74f3cf3a32de21d3f5 (diff)
Merge branch 'master' into feature/anonymous-reporting
Diffstat (limited to 'pkg/app')
-rw-r--r--pkg/app/app.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go
index a558e1b19..2a049c241 100644
--- a/pkg/app/app.go
+++ b/pkg/app/app.go
@@ -69,10 +69,7 @@ func NewApp(config config.AppConfigurer) (*App, error) {
}
var err error
app.Log = newLogger(config)
- app.OSCommand, err = commands.NewOSCommand(app.Log)
- if err != nil {
- return app, err
- }
+ app.OSCommand = commands.NewOSCommand(app.Log)
app.Tr = i18n.NewLocalizer(app.Log)