mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-29 06:49:05 +08:00
prepend skip dirs with slash so tools like govendor can still have a report
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
skipDirs = []string{"Godeps", "vendor", "third_party"}
|
||||
skipDirs = []string{"/Godeps/", "/vendor/", "/third_party/"}
|
||||
skipSuffixes = []string{".pb.go", ".pb.gw.go", ".generated.go", "bindata.go"}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user