(error, cwd)
| 122803 | } |
| 122804 | ts.getWatchErrorSummaryDiagnosticMessage = getWatchErrorSummaryDiagnosticMessage; |
| 122805 | function prettyPathForFileError(error, cwd) { |
| 122806 | var line = ts.formatColorAndReset(":" + error.line, ts.ForegroundColorEscapeSequences.Grey); |
| 122807 | if (ts.pathIsAbsolute(error.fileName) && ts.pathIsAbsolute(cwd)) { |
| 122808 | return ts.getRelativePathFromDirectory(cwd, error.fileName, /* ignoreCase */ false) + line; |
| 122809 | } |
| 122810 | return error.fileName + line; |
| 122811 | } |
| 122812 | function getErrorSummaryText(errorCount, filesInError, newLine, host) { |
| 122813 | if (errorCount === 0) |
| 122814 | return ""; |
no outgoing calls
no test coverage detected