Skip to content

Commit fe4fc1e

Browse files
authored
plugins/gnostic-analyze/summarize: fix dropped error (#426)
1 parent bf7795e commit fe4fc1e

File tree

1 file changed

+3
-0
lines changed
  • plugins/gnostic-analyze/summarize

1 file changed

+3
-0
lines changed

plugins/gnostic-analyze/summarize/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ var stats []statistics.DocumentStatistics
3232

3333
// walker is called for each summary file found.
3434
func walker(p string, info os.FileInfo, err error) error {
35+
if err != nil {
36+
return err
37+
}
3538
basename := path.Base(p)
3639
if basename != "summary.json" {
3740
return nil

0 commit comments

Comments
 (0)