(sourceFileInfo: SourceFileInfo,
markMap: { [path: string]: boolean })
| 384 | } |
| 385 | |
| 386 | private _markFileDirtyRecursive(sourceFileInfo: SourceFileInfo, |
| 387 | markMap: { [path: string]: boolean }) { |
| 388 | let filePath = sourceFileInfo.sourceFile.getFilePath(); |
| 389 | |
| 390 | // Don't mark it again if it's already been visited. |
| 391 | if (markMap[filePath] === undefined) { |
| 392 | sourceFileInfo.sourceFile.markReanalysisRequired(); |
| 393 | markMap[filePath] = true; |
| 394 | |
| 395 | sourceFileInfo.importedBy.forEach(dep => { |
| 396 | this._markFileDirtyRecursive(dep, markMap); |
| 397 | }); |
| 398 | } |
| 399 | } |
| 400 | |
| 401 | getDiagnostics(options: ConfigOptions): FileDiagnostics[] { |
| 402 | let fileDiagnostics: FileDiagnostics[] = this._removeUnneededFiles(); |
no test coverage detected