mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 14:17:42 +00:00
Ignore vendor/ directory for gofmt tests
This commit is contained in:
parent
b3c2febf79
commit
c51889c157
@ -212,7 +212,7 @@ func (env *AppveyorEnvironment) RunTests() {
|
||||
// findGoFiles returns a list of go source code file names below dir.
|
||||
func findGoFiles(dir string) (list []string, err error) {
|
||||
err = filepath.Walk(dir, func(name string, fi os.FileInfo, err error) error {
|
||||
if filepath.Base(name) == "Godeps" {
|
||||
if filepath.Base(name) == "vendor" {
|
||||
return filepath.SkipDir
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user