feat(linter): Fix govet linter

This commit is contained in:
Artem Yadelskyi
2026-02-20 22:35:16 +02:00
parent e883e14b81
commit 02b4d9fbe2
17 changed files with 29 additions and 61 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func Run(opts Options) (*Result, error) {
return nil, err
}
if _, err := os.Stat(openclawHome); os.IsNotExist(err) {
if _, err = os.Stat(openclawHome); os.IsNotExist(err) {
return nil, fmt.Errorf("OpenClaw installation not found at %s", openclawHome)
}