(scriptPath: string | undefined)
| 79 | * Windows test.) |
| 80 | */ |
| 81 | export const isDevCliEntrypoint = (scriptPath: string | undefined): boolean => { |
| 82 | if (!scriptPath) return false; |
| 83 | const normalized = scriptPath.replaceAll("\\", "/"); |
| 84 | if (normalized.startsWith("/$bunfs/") || WINDOWS_BUNFS_ENTRYPOINT.test(normalized)) return false; |
| 85 | return normalized.endsWith(".ts") || normalized.endsWith(".js"); |
| 86 | }; |
| 87 | |
| 88 | export const isExecutorServerReachable = ( |
| 89 | input: ExecutorServerReachabilityInput, |
no outgoing calls
no test coverage detected