Skip to content

Commit

Permalink
Update packages/language-server/src/lib/documents/configLoader.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm authored Aug 27, 2024
1 parent 6a7f19d commit 6fc7299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/language-server/src/lib/documents/configLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class ConfigLoader {
.withPathSeparator('/')
.exclude((_, path) => {
// no / at the start, path could start with node_modules
return path.includes('node_modules/') || path.includes('/.');
return path.includes('node_modules/') || path.includes('/.') || path[0] === '.';
})
.filter((path, isDir) => {
return !isDir && configRegex.test(path);
Expand Down

0 comments on commit 6fc7299

Please sign in to comment.