(path: string)
| 1622 | |
| 1623 | // Pipeline syntax |
| 1624 | const processFilePipe = (path: string) => |
| 1625 | readFile(path) |
| 1626 | .andThen((content) => parseContent(content)) |
| 1627 | .catchAll((error: string, message) => |
| 1628 | logger.error(`[${error}Error] Error processing ${path}:`, message).as(null), |
| 1629 | ); |
| 1630 | |
| 1631 | // Test successful case |
| 1632 | const errorLogs: string[][] = []; |
no test coverage detected