Skip to content

Commit c0925c3

Browse files
committed
estimate: Revert an error annotation
where the use of fmt.Errorf() was causing estimate to fail
1 parent fb49175 commit c0925c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

estimate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func removeVendor(gopath string) (found bool, _ error) {
5454
}
5555
return filepath.SkipDir
5656
})
57-
return found, fmt.Errorf("walk: %w", err)
57+
return found, err
5858
}
5959

6060
func estimate(importpath string) error {

0 commit comments

Comments
 (0)