Skip to content

Commit 66dede7

Browse files
committed
Switch to tinyglobby
1 parent 705a6e4 commit 66dede7

File tree

3 files changed

+99
-561
lines changed

3 files changed

+99
-561
lines changed

file.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var difference = require('lodash/difference');
1313
var union = require('lodash/union');
1414
var isPlainObject = require('lodash/isPlainObject');
1515

16-
var glob = require('glob');
16+
var { globSync } = require('tinyglobby');
1717

1818
var file = module.exports = {};
1919

@@ -62,7 +62,7 @@ file.expand = function(...args) {
6262
// Return all matching filepaths.
6363
var matches = processPatterns(patterns, function(pattern) {
6464
// Find all matching files for this pattern.
65-
return glob.sync(pattern, options);
65+
return globSync(pattern, options);
6666
});
6767
// Filter result set?
6868
if (options.filter) {

0 commit comments

Comments
 (0)