parent
26f77bed88
commit
8651a1aefc
1 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,10 @@ func parser_visit(path string, f os.FileInfo, err error) error {
|
|||
if f == nil || f.IsDir() {
|
||||
return nil
|
||||
}
|
||||
//we only care about yaml files
|
||||
if !strings.HasSuffix(f.Name(), ".yaml") && !strings.HasSuffix(f.Name(), ".yml") {
|
||||
return nil
|
||||
}
|
||||
|
||||
subs := strings.Split(path, "/")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue