Commit dd68707
fix(node): compare resolved mirror_url to honor NODE_BUILD_MIRROR_URL
The previous check `node.mirror_url.is_none()` ignored the
`NODE_BUILD_MIRROR_URL` env var that `mirror_url()` itself reads as a
fallback, so a user with that env var set would still get rerouted to
unofficial-builds for musl filenames. Compare against the resolved Url
instead so any user-provided override (settings field or env var) is
preserved.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent df253a1 commit dd68707
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
860 | | - | |
| 860 | + | |
| 861 | + | |
861 | 862 | | |
862 | 863 | | |
863 | | - | |
| 864 | + | |
864 | 865 | | |
865 | 866 | | |
866 | 867 | | |
| |||
0 commit comments