From fdc7037bfc0b0c74149febee54437cdef7144483 Mon Sep 17 00:00:00 2001 From: zhengbli Date: Thu, 5 May 2016 13:06:12 -0700 Subject: [PATCH] ignore dotted files and folders --- src/compiler/commandLineParser.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index c53e2fcc2ec..0336b0c7e69 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -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; }