(tempDir: string)
| 480 | errorHeader, |
| 481 | Console.error, |
| 482 | Effect.andThen(Console.error(' Type checking failed:')), |
| 483 | Effect.andThen(formatErrorLines(error.error.split('\n'))) |
| 484 | ); |
| 485 | }; |
| 486 | |
| 487 | const cleanTempDirectory = (tempDir: string) => |
| 488 | pipe( |
| 489 | FileSystem.FileSystem, |
| 490 | Effect.andThen((fs) => fs.remove(tempDir, { recursive: true })), |