(filePath: string)
| 684 | } |
| 685 | |
| 686 | async function isFilePath(filePath: string): Promise<boolean> { |
| 687 | try { |
| 688 | const fileStat = await stat(filePath); |
| 689 | return fileStat.isFile(); |
| 690 | } catch { |
| 691 | return false; |
| 692 | } |
| 693 | } |
| 694 | |
| 695 | function normalizeTimeoutMs(value: number | undefined): number | undefined { |
| 696 | if (!Number.isFinite(value)) return undefined; |
no outgoing calls
no test coverage detected