(graphErrors: dataform.IGraphErrors, quietCompilation: boolean)
| 254 | } |
| 255 | |
| 256 | export function printCompiledGraphErrors(graphErrors: dataform.IGraphErrors, quietCompilation: boolean) { |
| 257 | if (graphErrors.compilationErrors && graphErrors.compilationErrors.length > 0) { |
| 258 | printError("Compilation errors:", 1); |
| 259 | graphErrors.compilationErrors.forEach(compileError => { |
| 260 | writeStdErr( |
| 261 | `${calloutOutput(compileError.fileName)}: ${errorOutput( |
| 262 | quietCompilation ? (compileError.message + " " + formatStackTraceForQuietCompilation(compileError) || compileError.stack) : (compileError.stack || compileError.message) |
| 263 | )}`, |
| 264 | 1 |
| 265 | ); |
| 266 | }); |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | export function printTestResult(testResult: dataform.ITestResult) { |
| 271 | writeStdOut( |
no test coverage detected