Skip to content

Commit 7e0ed09

Browse files
rhansenottok
authored andcommitted
estimate: Fix parameter name
1 parent 6ea5763 commit 7e0ed09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

estimate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ func getDirectDependencies(gopath, repodir, module string) (map[string]bool, err
136136
return deps, nil
137137
}
138138

139-
func removeVendor(gopath string) (found bool, _ error) {
140-
err := filepath.Walk(gopath, func(path string, info os.FileInfo, err error) error {
139+
func removeVendor(repodir string) (found bool, _ error) {
140+
err := filepath.Walk(repodir, func(path string, info os.FileInfo, err error) error {
141141
if err != nil {
142142
return err
143143
}

0 commit comments

Comments
 (0)