Improve update_owners.py username detection and error message.

Also, skip _output.
This commit is contained in:
Ryan Hitchman
2016-10-28 11:50:21 -07:00
parent bc7ae399f8
commit 20754c0f5c
2 changed files with 8 additions and 7 deletions

View File

@@ -237,7 +237,8 @@ func (t *testList) handlePath(path string, info os.FileInfo, err error) error {
return err
}
if strings.Contains(path, "third_party") ||
strings.Contains(path, "staging") {
strings.Contains(path, "staging") ||
strings.Contains(path, "_output") {
return filepath.SkipDir
}
if strings.HasSuffix(path, ".go") && strings.Contains(path, "e2e") ||