Skip to content

Commit 529a10b

Browse files
authored
Fix for globing
1 parent eed159c commit 529a10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/lib/data_loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const glob = require('glob'),
1313
* @returns {*}
1414
*/
1515
function loadFile(dataFilesPath, fsDep) {
16-
const dataFilesFullPath = dataFilesPath + '*.{json,yml,yaml}';
16+
const dataFilesFullPath = dataFilesPath + '{.,[!-]*.}{json,yml,yaml}';
1717

1818
if (dataFilesPath) {
1919
const dataFiles = glob.sync(dataFilesFullPath),

0 commit comments

Comments
 (0)