diff options
author | Anthony HAMON <anthony.hamon@iadvize.com> | 2018-08-20 21:04:04 +0200 |
---|---|---|
committer | Anthony HAMON <anthony.hamon@iadvize.com> | 2018-08-20 21:12:42 +0200 |
commit | e4070ccb4f2de10f873561a0794bbae1a0513a29 (patch) | |
tree | 8a831c234f5bafd3a788e7cd15ab269259b0270f /pkg/app | |
parent | 3c0fb9b32461ae2fe4e71eeeda95583bd64a812a (diff) |
rewrite language detection, rewrite tests
Diffstat (limited to 'pkg/app')
-rw-r--r-- | pkg/app/app.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go index aaa925e53..20a97276e 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -51,10 +51,7 @@ func NewApp(config config.AppConfigurer) (*App, error) { return app, err } - app.Tr, err = i18n.NewLocalizer(app.Log) - if err != nil { - return app, err - } + app.Tr = i18n.NewLocalizer(app.Log) app.GitCommand, err = commands.NewGitCommand(app.Log, app.OSCommand) if err != nil { |