From 6e2b4af33647158637d85f7d5048db93898ce6b8 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Wed, 30 Mar 2022 22:37:06 -0700 Subject: [PATCH] getModule: simplify log print statement (MR 19) fixes a staticcheck linting warning --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 196aa86..8c5fde2 100644 --- a/main.go +++ b/main.go @@ -743,7 +743,7 @@ func getModule(files misc.StringSet, modName string, modDir string) error { for _, dep := range deps { p := filepath.Join(modDir, dep) if !exists(p) { - log.Print(fmt.Sprintf("Tried to include a module that doesn't exist in the modules directory (%s): %s", modDir, p)) + log.Printf("Tried to include a module that doesn't exist in the modules directory (%s): %s", modDir, p) return err } files[p] = false