Skip to content

Commit fdc7037

Browse files
author
zhengbli
committed
ignore dotted files and folders
1 parent e9122a9 commit fdc7037

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/compiler/commandLineParser.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,8 @@ namespace ts {
716716
}
717717

718718
// Skip over any minified JavaScript files (ending in ".min.js")
719-
if (/\.min\.js$/.test(fileName)) {
719+
// Skip over dotted files and folders as well
720+
if (/\.min\.js$/.test(fileName) || /[\\/]\.[\w.]/.test(fileName)) {
720721
continue;
721722
}
722723

0 commit comments

Comments
 (0)