The Wayback Machine - https://web.archive.org/web/20250929180953/https://github.com/nodejs/node/commit/9e76089f1a
File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1108,6 +1108,9 @@ changes:
11081108 * ` exclude` {Function|string\[ ]} Function to filter out files/directories or a
11091109 list of glob patterns to be excluded. If a function is provided, return
11101110 ` true ` to exclude the item, ` false ` to include it. **Default:** ` undefined ` .
1111+ If a string array is provided, each string should be a glob pattern that
1112+ specifies paths to exclude. Note: Negation patterns (e.g., '!foo.js') are
1113+ not supported.
11111114 * ` withFileTypes` {boolean} ` true ` if the glob should return paths as Dirents,
11121115 ` false ` otherwise. **Default:** ` false ` .
11131116* Returns: {AsyncIterator} An AsyncIterator that yields the paths of files
You can’t perform that action at this time.
0 commit comments