(error: unknown, indent = ' ')
| 59 | } |
| 60 | |
| 61 | function printCommandErrorDetails(error: unknown, indent = ' '): void { |
| 62 | for (const detail of formatCommandErrorDetails(error)) { |
| 63 | console.error(`${indent}${detail.split('\n').join(`\n${indent}`)}`); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | export { printCommandErrorDetails, formatCommandErrorDetails }; |
no test coverage detected