()
| 213 | } |
| 214 | |
| 215 | export function resolveSelfContainedWrapperPath(): string { |
| 216 | const selfContainedPath = fileURLToPath(new URL('../../ncode-staging-self-contained', import.meta.url)) |
| 217 | return existsSync(selfContainedPath) |
| 218 | ? selfContainedPath |
| 219 | : (resolveCompiledBinaryPath() ?? |
| 220 | fileURLToPath(new URL('../../ncode', import.meta.url))) |
| 221 | } |
| 222 | |
| 223 | export function findCompiledBinaryCandidates( |
| 224 | repoRoot = WRAPPER_HARNESS_REPO_ROOT, |
no test coverage detected