Skip to content

Commit 7e6871c

Browse files
authored
Update goutil.go
fix import
1 parent 044817e commit 7e6871c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/goutil/goutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ func install(importPath, version string) error {
292292
func GetLatestVer(modulePath string) (string, error) {
293293
out, err := exec.Command(goExe, "list", "-m", "-f", "{{.Version}}", modulePath+"@latest").Output() //#nosec
294294
if err != nil {
295-
return "", fmr.Errorf("can't check %s:\n%w", modulePath, err)
295+
return "", fmt.Errorf("can't check %s:\n%w", modulePath, err)
296296
}
297297
return strings.TrimRight(string(out), "\n"), nil
298298
}

0 commit comments

Comments
 (0)