From 1c15c3c45ae4d6f0fe671cab96602dea522dc95f Mon Sep 17 00:00:00 2001 From: logikonline Date: Sat, 17 Jan 2026 10:24:55 -0500 Subject: [PATCH] fix: lint errors in plugin loader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use errors.New instead of fmt.Errorf for simple strings - Run gofmt on new files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- modules/plugins/loader.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/plugins/loader.go b/modules/plugins/loader.go index 1c8e87686c..89bbf24187 100644 --- a/modules/plugins/loader.go +++ b/modules/plugins/loader.go @@ -4,6 +4,7 @@ package plugins import ( + "errors" "fmt" "os" "path/filepath" @@ -99,7 +100,7 @@ func loadPlugin(path string) error { } if plug == nil || *plug == nil { - return fmt.Errorf("Plugin symbol is nil") + return errors.New("plugin symbol is nil") } Register(*plug)