#8 up logger.

This commit is contained in:
Gorbunov Kirill Andreevich
2024-03-17 16:46:46 +03:00
parent 73e4b0a6fe
commit 27331048f3
2 changed files with 7 additions and 7 deletions

View File

@@ -108,7 +108,7 @@ func FindModFile(dir string) (string, error) {
}
parent := filepath.Dir(dir)
if parent == dir {
return "", fmt.Error("cannot find go.mod")
return "", fmt.Errorf("cannot find go.mod")
}
dir = parent
}