This commit is contained in:
parent
7a9bf3199a
commit
c294e2e9ae
5702 changed files with 465039 additions and 34 deletions
10
node_modules/test-exclude/is-outside-dir-win32.js
generated
vendored
Normal file
10
node_modules/test-exclude/is-outside-dir-win32.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
const path = require('path');
|
||||
const minimatch = require('minimatch');
|
||||
|
||||
const dot = { dot: true };
|
||||
|
||||
module.exports = function(dir, filename) {
|
||||
return !minimatch(path.resolve(dir, filename), path.join(dir, '**'), dot);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue