Skip to content

Commit

Permalink
Update node modules ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Jul 21, 2024
1 parent e7ca548 commit adb5418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/Folders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ export class Folders {
try {
pattern = isWindows() ? parseWinPath(pattern) : pattern;
const folders = await glob(pattern, {
ignore: '**/node_modules/**',
ignore: 'node_modules/**',
dot: true
});

Expand Down Expand Up @@ -865,7 +865,7 @@ export class Folders {

try {
pattern = isWindows() ? parseWinPath(pattern) : pattern;
const files = await glob(pattern, { ignore: '**/node_modules/**', dot: true });
const files = await glob(pattern, { ignore: 'node_modules/**', dot: true });
const allFiles = (files || []).map((file) => Uri.file(file));
Logger.verbose(`Folders:findFiles:end - ${allFiles.length}`);
return allFiles;
Expand Down

0 comments on commit adb5418

Please sign in to comment.