Skip to content

Commit 5c3fc42

Browse files
committed
fix lint
1 parent b6e87ce commit 5c3fc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/tools/cmd-tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func realMain() error {
208208
}
209209
file, err := os.Create("foo.png")
210210
if err != nil {
211-
return fmt.Errorf("couldn't create file ", err)
211+
return fmt.Errorf("couldn't create file %v", err)
212212
}
213213
defer file.Close()
214214
return png.Encode(file, img)

0 commit comments

Comments
 (0)