Skip to content

Commit

Permalink
Fix fileLoader signature #210
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Jul 24, 2019
1 parent f805c04 commit bdaf070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file_loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const fileLoader = (
path: string,
{ recursive = false, extensions = DEFAULT_EXTENSIONS, globOptions = {},
ignoreIndex = true, } = {},
) => {
): any[] => {
return loadSchemaFiles(path, {
globOptions,
extensions: extensions.map(e => e.startsWith('.') ? e.substr(1, e.length - 1) : e).filter(e => DEFAULT_EXTENSIONS.includes(e)),
Expand Down

0 comments on commit bdaf070

Please sign in to comment.