diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-07 09:41:15 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-07 09:41:15 +1000 |
commit | ca715c5b23fdc20ad9b3dd983814ab9225c5fdbc (patch) | |
tree | 3a02a5f769524beb3add39e584ad0712c5acd822 /pkg/app | |
parent | ba7e6add8690de21239cd0f37ee52a7c50236518 (diff) |
support switching to recent repo
Diffstat (limited to 'pkg/app')
-rw-r--r-- | pkg/app/app.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go index b03ec5b42..65acd2e35 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -77,11 +77,11 @@ func Setup(config config.AppConfigurer) (*App, error) { app.Tr = i18n.NewLocalizer(app.Log) - app.GitCommand, err = commands.NewGitCommand(app.Log, app.OSCommand, app.Tr) + app.Updater, err = updates.NewUpdater(app.Log, config, app.OSCommand, app.Tr) if err != nil { return app, err } - app.Updater, err = updates.NewUpdater(app.Log, config, app.OSCommand, app.Tr) + app.GitCommand, err = commands.NewGitCommand(app.Log, app.OSCommand, app.Tr) if err != nil { return app, err } |