Skip to content

Commit

Permalink
fix: do not require globstars when using basenames
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwremmel committed Dec 11, 2021
1 parent 29d1cbd commit efa1754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function multiGlob(
pattern = pattern.slice(1);
}
// Find all matching files for this pattern.
const matches = glob.sync(pattern);
const matches = glob.sync(pattern, {matchBase: true});
if (matches.length === 0) {
logger.warn(`Could not find any files matching glob ${pattern}`);
}
Expand Down

0 comments on commit efa1754

Please sign in to comment.