Merge pull request #7225 from relaxdiego/master

Add .yml to the list of recognized file extensions
pull/6/head
Robert Bailey 2015-04-23 09:36:33 -07:00
commit c303c055d1
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ func (b *Builder) Path(paths ...string) *Builder {
visitor = &DirectoryVisitor{
Mapper: b.mapper,
Path: p,
Extensions: []string{".json", ".yaml"},
Extensions: []string{".json", ".yaml", ".yml"},
Recursive: false,
IgnoreErrors: b.continueOnError,
}