diff --git a/main.go b/main.go index 557b6eb..544e599 100644 --- a/main.go +++ b/main.go @@ -166,7 +166,7 @@ func aggregateFiles(args []string) ([]string, error) { if err != nil { return err } - if !info.IsDir() && (strings.HasSuffix(info.Name(), ".yaml") || strings.HasSuffix(info.Name(), ".yml") { + if !info.IsDir() && (strings.HasSuffix(info.Name(), ".yaml") || strings.HasSuffix(info.Name(), ".yml")) { files = append(files, path) } return nil