Skip to content

Commit c9087c5

Browse files
committed
Fix go vet
1 parent 14441bd commit c9087c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yamllint-action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func handlePush(ctx context.Context, client *github.Client, report Report) error
217217
}
218218

219219
if report.ErrorHasOccured {
220-
return fmt.Errorf(summary)
220+
return fmt.Errorf("report contains error: %s", summary)
221221
} else {
222222
return nil
223223
}

0 commit comments

Comments
 (0)