From b93d112a8a65cdbe4e55642516b93b97e7c71725 Mon Sep 17 00:00:00 2001 From: Bill Ticehurst Date: Wed, 10 Feb 2016 23:03:01 -0800 Subject: [PATCH] Fix node_modules exclude (cherry picked from commit 2922bd59a6a73a99646b02e42ec40721dcb66835) --- src/compiler/commandLineParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 71292cd2322..2c8332d127c 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -558,7 +558,7 @@ namespace ts { } else { // by default exclude node_modules, and any specificied output directory - exclude = ["./node_modules"] + exclude = ["node_modules"] let outDir = json["compilerOptions"] && json["compilerOptions"]["outDir"]; if(outDir) { exclude.push(outDir);