(path: string | URL)
| 22 | const isBun = navigator.userAgent.includes("Bun/"); |
| 23 | |
| 24 | function assertMissing(path: string | URL) { |
| 25 | if (pathExists(path)) { |
| 26 | throw new Error("File: ${path} exists"); |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | function pathExists(path: string | URL): boolean { |
| 31 | try { |
no test coverage detected