mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-19 08:24:15 -06:00
ignore dotted files and folders
This commit is contained in:
parent
e9122a9f34
commit
fdc7037bfc
@ -716,7 +716,8 @@ namespace ts {
|
||||
}
|
||||
|
||||
// Skip over any minified JavaScript files (ending in ".min.js")
|
||||
if (/\.min\.js$/.test(fileName)) {
|
||||
// Skip over dotted files and folders as well
|
||||
if (/\.min\.js$/.test(fileName) || /[\\/]\.[\w.]/.test(fileName)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user