Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@npmcli/config/lib/index.js')
-rw-r--r--node_modules/@npmcli/config/lib/index.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/node_modules/@npmcli/config/lib/index.js b/node_modules/@npmcli/config/lib/index.js
index bb8c24602..5b7ea68e9 100644
--- a/node_modules/@npmcli/config/lib/index.js
+++ b/node_modules/@npmcli/config/lib/index.js
@@ -506,10 +506,9 @@ class Config {
}
[_checkDeprecated] (key, where, obj, kv) {
- // XXX a future npm version will make this a warning.
- // An even more future npm version will make this an error.
+ // XXX(npm9+) make this throw an error
if (this.deprecated[key]) {
- log.verbose('config', key, this.deprecated[key])
+ log.warn('config', key, this.deprecated[key])
}
}