Commit 2520243
authored
Restore Hex code paths after compilation pruning (#1118)
Compilation prunes code paths for isolation, which may remove archive
paths like Hex. When a task like `format` triggers compilation and then
`deps.get` runs in the same VM, Hex.Mix becomes unavailable.
Call Mix.ensure_application!(:hex) to restore the code paths before
converging dependencies.
Closes #11091 parent 84f2d67 commit 2520243
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
19 | 27 | | |
0 commit comments