From 43b4abfd9a7a4ac3b7e6d6d88ab32062fb52a1ac Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Sun, 15 May 2016 01:51:06 +0900 Subject: [PATCH] prepend skip dirs with slash so tools like govendor can still have a report --- check/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check/utils.go b/check/utils.go index 108fff0..971ac77 100644 --- a/check/utils.go +++ b/check/utils.go @@ -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"} )