Skip to content

Commit bc58e55

Browse files
darthShadowCopilot
andauthored
Update cmd/size/size.go
Co-authored-by: Copilot <[email protected]>
1 parent 54dd1bc commit bc58e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/size/size.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ of the size command.`,
6666
encErr := json.NewEncoder(os.Stdout).Encode(results)
6767
if err != nil {
6868
if encErr != nil {
69-
fs.Logf(fsrc, "JSON output may be incomplete or corrupted: %v", encErr)
69+
fs.Errorf(fsrc, "JSON output may be incomplete or corrupted: %v", encErr)
7070
}
7171
return err
7272
}

0 commit comments

Comments
 (0)