* Similar to `logWarning`, but for messages that require the user to act.
(terminal: Terminal, format: string, ...args: Array<mixed>)
| 98 | * Similar to `logWarning`, but for messages that require the user to act. |
| 99 | */ |
| 100 | function logError(terminal: Terminal, format: string, ...args: Array<mixed>): void { |
| 101 | const str = util.format(format, ...args); |
| 102 | terminal.log('%s: %s', chalk.red('error'), str); |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * A reporter that does nothing. Errors and warnings will be swallowed, that |
no test coverage detected
searching dependent graphs…