Commit 4927d70d authored by Mark Maglana's avatar Mark Maglana

Add .yml to the list of recognized file extensions

parent 4b9a64bc
...@@ -147,7 +147,7 @@ func (b *Builder) Path(paths ...string) *Builder { ...@@ -147,7 +147,7 @@ func (b *Builder) Path(paths ...string) *Builder {
visitor = &DirectoryVisitor{ visitor = &DirectoryVisitor{
Mapper: b.mapper, Mapper: b.mapper,
Path: p, Path: p,
Extensions: []string{".json", ".yaml"}, Extensions: []string{".json", ".yaml", ".yml"},
Recursive: false, Recursive: false,
IgnoreErrors: b.continueOnError, IgnoreErrors: b.continueOnError,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment