Skip to content

Commit

Permalink
build: does minimatch 6 break things
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Jun 10, 2024
1 parent 2953445 commit b215022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion is-outside-dir-win32.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const path = require('path');
const minimatch = require('minimatch');

const dot = { dot: true };
const dot = { dot: true, windowsPathsNoEscape: true };

module.exports = function(dir, filename) {
return !minimatch(path.resolve(dir, filename), path.join(dir, '**'), dot);
Expand Down

0 comments on commit b215022

Please sign in to comment.