Skip to content

Commit

Permalink
plugins/gnostic-analyze/summarize: fix dropped error (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs committed Feb 29, 2024
1 parent bf7795e commit fe4fc1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/gnostic-analyze/summarize/main.go
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 fe4fc1e

Please sign in to comment.