Add .yml to the list of recognized file extensions

pull/6/head
Mark Maglana 2015-04-23 08:57:45 -07:00
parent 4b9a64bcd8
commit 4927d70dd0
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,
}