Skip to content

Commit 1f767aa

Browse files
wraithgarlukekarrys
authored andcommitted
fix: remove metric-registry config
BREAKING CHANGE: the hard-coded "metrics-registry" config has been removed. This is not used by npm at all, and is also not used by any of the npm modules that consume config. npm does not send data to any metrics server.
1 parent b6cf113 commit 1f767aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

workspaces/config/lib/index.js

-4
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,6 @@ class Config {
322322

323323
const { data } = this.data.get('default')
324324

325-
// the metrics-registry defaults to the current resolved value of
326-
// the registry, unless overridden somewhere else.
327-
settableGetter(data, 'metrics-registry', () => this.#get('registry'))
328-
329325
// if the prefix is set on cli, env, or userconfig, then we need to
330326
// default the globalconfig file to that location, instead of the default
331327
// global prefix. It's weird that `npm get globalconfig --prefix=/foo`

0 commit comments

Comments
 (0)