From 06d1b9a4a810bbbcc3bf2f12cd20d08661ce157f Mon Sep 17 00:00:00 2001 From: Pablo RUTH Date: Sat, 7 Sep 2024 10:04:19 +0200 Subject: [PATCH] fix: lint error --- client/files.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/files.go b/client/files.go index 6ce5dc9..abb5ce5 100644 --- a/client/files.go +++ b/client/files.go @@ -1,6 +1,7 @@ package client import ( + "errors" "fmt" "os" "reflect" @@ -151,7 +152,7 @@ Please generate at least one with command like this : } } - return nil, fmt.Errorf(errStr) + return nil, errors.New(errStr) } return found, nil }