| commit | 4d81d05528778a343269477a1575bd2a3c1cbd5c | [log] [tgz] |
|---|---|---|
| author | Chris Gamble <gamble@twitch.tv> | Wed Jul 06 14:35:45 2016 -0700 |
| committer | Chris Gamble <gamble@twitch.tv> | Wed Jul 06 14:35:45 2016 -0700 |
| tree | e19227785c82232932274e14e2c696f1bbb2a155 | |
| parent | c8c8c7796228d7d7de04722813c5d544f65a1a08 [diff] |
Only skip directories when rewriting godeps
diff --git a/godep/strip/strip.go b/godep/strip/strip.go index e70d607..39d54e1 100644 --- a/godep/strip/strip.go +++ b/godep/strip/strip.go
@@ -82,11 +82,11 @@ func rewriteGodepfilesHandler(path string, info os.FileInfo, err error) error { name := info.Name() - if name == "testdata" || name == "vendor" { - return filepath.SkipDir - } if info.IsDir() { + if name == "testdata" || name == "vendor" { + return filepath.SkipDir + } return nil }