summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/helpers
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-04-15 14:32:41 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-04-30 13:19:53 +1000
commit68a9d7fd773135b59d4eccf439bfe0e28a13cb81 (patch)
tree458250ef767200c28e4fa43463e250935b84f70b /pkg/gui/controllers/helpers
parent19cbafcdfc5af030413872c61b33fd526dacfe68 (diff)
appease linter
Diffstat (limited to 'pkg/gui/controllers/helpers')
-rw-r--r--pkg/gui/controllers/helpers/update_helper.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/gui/controllers/helpers/update_helper.go b/pkg/gui/controllers/helpers/update_helper.go
index a9a49f0f4..ea9be8f16 100644
--- a/pkg/gui/controllers/helpers/update_helper.go
+++ b/pkg/gui/controllers/helpers/update_helper.go
@@ -18,7 +18,7 @@ func NewUpdateHelper(c *HelperCommon, updater *updates.Updater) *UpdateHelper {
}
}
-func (self *UpdateHelper) CheckForUpdateInBackground() error {
+func (self *UpdateHelper) CheckForUpdateInBackground() {
self.updater.CheckForNewUpdate(func(newVersion string, err error) error {
if err != nil {
// ignoring the error for now so that I'm not annoying users
@@ -34,8 +34,6 @@ func (self *UpdateHelper) CheckForUpdateInBackground() error {
}
return self.showUpdatePrompt(newVersion)
}, false)
-
- return nil
}
func (self *UpdateHelper) CheckForUpdateInForeground() error {