From cc95dcac1bec89ece5986b8a5c1e8e19bb160db2 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Thu, 1 Oct 2015 18:33:52 -0700 Subject: [PATCH] Fix lint error that was commited This is what happens when your merge PRs by hand and forget to run the linter. You break everyone's PRs. --- src/compiler/tsc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/tsc.ts b/src/compiler/tsc.ts index d0f888cfa02..7b74024aec4 100644 --- a/src/compiler/tsc.ts +++ b/src/compiler/tsc.ts @@ -301,7 +301,7 @@ namespace ts { sourceFile.fileWatcher.close(); sourceFile.fileWatcher = undefined; if (removed) { - var index = rootFileNames.indexOf(sourceFile.fileName); + let index = rootFileNames.indexOf(sourceFile.fileName); if (index >= 0) { rootFileNames.splice(index, 1); }