Repository navigation
Commit 6342a18
committed
refactor(ios-runner): reach the host dev-tools probe only when a device needs it
A static edge from `runner-session.ts` to the new module grew three Apple facade
closures by one module each (app-lifecycle, doctor, runner-operations), which the
eager-import-closure ratchet refuses: the runner subtree is eagerly evaluated to
answer a simulator request, and this preflight only ever runs for a physical
iOS device. Function-scoped import keeps the preflight where it belongs without
paying for it on the paths that can never use it.1 parent 59b3361 commit 6342a18
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
188 | 187 | | |
189 | 188 | | |
190 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
191 | 194 | | |
192 | 195 | | |
193 | 196 | | |
| |||
0 commit comments