Commit 6d91b00
committed
fix: respect npm_config_registry for update checks
Use the npm_config_registry env var (set by npm when invoked
via npx with custom registry config) instead of hardcoding
registry.npmjs.org. Falls back to the default public registry
when the env var is not set.
Fixes #19431 parent c9c1683 commit 6d91b00
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
0 commit comments