mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
ignore dotted files and folders
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user