Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions file.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var difference = require('lodash/difference');
var union = require('lodash/union');
var isPlainObject = require('lodash/isPlainObject');

var glob = require('glob');
var { globSync } = require('tinyglobby');

var file = module.exports = {};

Expand Down Expand Up @@ -62,7 +62,7 @@ file.expand = function(...args) {
// Return all matching filepaths.
var matches = processPatterns(patterns, function(pattern) {
// Find all matching files for this pattern.
return glob.sync(pattern, options);
return globSync(pattern, options);
});
// Filter result set?
if (options.filter) {
Expand Down
Loading