#8 up logger.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user