#8 up logger.

This commit is contained in:
Gorbunov Kirill Andreevich
2024-03-17 16:46:46 +03:00
parent f1a384c3c4
commit 1680270c0a
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
}