summaryrefslogtreecommitdiffstats
path: root/pkg/app
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-08-27 18:55:56 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-08-27 19:20:07 +1000
commit43f612feb128ba34a8192db78e4623ebc7af405a (patch)
treeb1bb6fef6b440d8d4984d914c5373ed356bcf65c /pkg/app
parent12261ceb05c4dd26d7e53a96f835e7886092b88a (diff)
parente72d090c5c9e426d11bbcf74f3cf3a32de21d3f5 (diff)
Merge branch 'master' into feature/auto-updates
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 a00eb8c06..6685f5f9e 100644
--- a/pkg/app/app.go
+++ b/pkg/app/app.go
@@ -48,10 +48,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)