(path: string)
| 1612 | { |
| 1613 | // Generator syntax |
| 1614 | const processFileGen = (path: string) => |
| 1615 | effected(function* () { |
| 1616 | const content = yield* readFile(path); |
| 1617 | return yield* parseContent(content); |
| 1618 | }).catchAll(function* (error: string, message) { |
| 1619 | yield* logger.error(`[${error}Error] Error processing ${path}:`, message); |
| 1620 | return null; |
| 1621 | }); |
| 1622 | |
| 1623 | // Pipeline syntax |
| 1624 | const processFilePipe = (path: string) => |
no test coverage detected