npm_config_userconfig
from environment variables is being overwriten
#118
Labels
npm_config_userconfig
from environment variables is being overwriten
#118
Describe the bug
I keep my npm config in
$XDG_CONFIG_HOME/npm/config
, which requires me to setnpm_config_userconfig="${XDG_CONFIG_HOME:-$HOME/.config}/npm/config"
in my shell.But you overwrite it here.
taze/src/utils/npm.ts
Line 27 in eed3c89
I keep my registry configuration in that file, so changing that causes a
FetchError: request to https://registry.npmjs.org/xxx failed, reason: read ECONNRESET
Reproduction
https://github.com/killjoy1221/taze/blob/ba87727b2d70e9e527f53ee83aa537d38c1d1a1f/test/envUserConfig.test.ts
System Info
Used Package Manager
pnpm
Validations
Contributions
The text was updated successfully, but these errors were encountered: