Skip to content

Commit

Permalink
plugins/gnostic-analyze/summarize: fix dropped error
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs committed Dec 29, 2023
1 parent f702249 commit 750c54b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/gnostic-analyze/summarize/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ var stats []statistics.DocumentStatistics

// walker is called for each summary file found.
func walker(p string, info os.FileInfo, err error) error {
if err != nil {
return err
}
basename := path.Base(p)
if basename != "summary.json" {
return nil
Expand Down

0 comments on commit 750c54b

Please sign in to comment.