()
| 16 | } |
| 17 | |
| 18 | function helperDir(): string { |
| 19 | // fileURLToPath (not URL.pathname) so the Windows "/D:/..." leading-slash form |
| 20 | // doesn't break the bundle-path resolution below. |
| 21 | return dirname(fileURLToPath(import.meta.url)); |
| 22 | } |
| 23 | |
| 24 | export function resolveRuntimePath(): string | null { |
| 25 | const d = helperDir(); |
no outgoing calls
no test coverage detected