mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user