#8 up logger.

This commit is contained in:
Gorbunov Kirill Andreevich
2024-03-17 16:45:46 +03:00
parent f8a129d0aa
commit 73e4b0a6fe
3 changed files with 17 additions and 17 deletions

View File

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