(filePath: string)
| 18 | } |
| 19 | |
| 20 | function assertNonConfigWrite(filePath: string): void { |
| 21 | if (basename(filePath) === 'config.toml') { |
| 22 | throw new Error( |
| 23 | 'CLI persistence helpers must not write config.toml; use core/SDK config APIs.', |
| 24 | ); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | function tempPathFor(filePath: string): string { |
| 29 | const dir = dirname(filePath); |
no test coverage detected