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
path: root/lib/utils
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@github.com>2022-06-02 20:04:22 +0300
committerGitHub <noreply@github.com>2022-06-02 20:04:22 +0300
commit40c823cc7d33d22f659a1ccceed440baacaaff1d (patch)
tree0735ec817594e0099de69cda7a6a237b54425875 /lib/utils
parent4ee12d0f64c3bc1b168f795deddb5145e5c86444 (diff)
fix: undeprecate and remove warnings for --global, -g, --local (#4982)
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/config/definitions.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js
index 4032c552e..4c77e375c 100644
--- a/lib/utils/config/definitions.js
+++ b/lib/utils/config/definitions.js
@@ -813,9 +813,6 @@ define('global', {
default: false,
type: Boolean,
short: 'g',
- deprecated: `
- \`--global\`, \`--local\` are deprecated. Use \`--location=global\` instead.
- `,
description: `
Operates in "global" mode, so that packages are installed into the
\`prefix\` folder instead of the current working directory. See