blob: 2b0705b1d712862800afaed43d4d93c1a350979c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- a/deps/npm/node_modules/@npmcli/config/lib/index.js
+++ b/deps/npm/node_modules/@npmcli/config/lib/index.js
@@ -275,8 +275,9 @@
// default the globalconfig file to that location, instead of the default
// global prefix. It's weird that `npm get globalconfig --prefix=/foo`
// returns `/foo/etc/npmrc`, but better to not change it at this point.
+ // gentoo deviates wrt global config; store in /etc/npm
settableGetter(data, 'globalconfig', () =>
- resolve(this[_get]('prefix'), 'etc/npmrc'))
+ resolve('/etc', 'npmrc'))
}
loadHome () {
|