diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-09 11:34:10 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-09 12:23:13 +1100 |
commit | e47ad846c4b6100aaff7013a3516d329bde19194 (patch) | |
tree | ead7f3f0a911d7ee4f4f46640c2bf449a74e8e05 /pkg/gui/tasks_adapter.go | |
parent | 8f68ac21293f1a0476802974817d9f87875f8743 (diff) |
big golangci-lint cleanup
Diffstat (limited to 'pkg/gui/tasks_adapter.go')
-rw-r--r-- | pkg/gui/tasks_adapter.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/gui/tasks_adapter.go b/pkg/gui/tasks_adapter.go index 198c11e34..f9ca49fff 100644 --- a/pkg/gui/tasks_adapter.go +++ b/pkg/gui/tasks_adapter.go @@ -59,7 +59,8 @@ func (gui *Gui) newStringTask(viewName string, str string) error { manager := gui.getManager(view) f := func(stop chan struct{}) error { - return gui.renderString(gui.g, viewName, str) + gui.renderString(gui.g, viewName, str) + return nil } if err := manager.NewTask(f); err != nil { |