Skip to content

Commit 194e698

Browse files
committed
Changetool Go List should report errors
1 parent 1032a4d commit 194e698

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/repotools/changes/golist/golist.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ func (c Client) Packages(mod string) ([]string, error) {
9191
}
9292

9393
err = filepath.Walk(c.path(mod), func(path string, info os.FileInfo, err error) error {
94+
if err != nil {
95+
return err
96+
}
97+
9498
if !info.IsDir() {
9599
return nil
96100
}

0 commit comments

Comments
 (0)