Skip to content

change --global to --location=global - #1213

Open
bolbolamir wants to merge 1 commit into
yarnpkg:masterfrom
bolbolamir:fix/npm-deprecations
Open

bolbolamir wants to merge 1 commit into
yarnpkg:masterfrom
bolbolamir:fix/npm-deprecations

Conversation

@bolbolamir

Copy link
Copy Markdown

Hi,
I noticed that npm has recently deprecated the --global flag, so I changed the relevant occurrences of that.

@Haroenv

Haroenv commented Sep 21, 2023

Copy link
Copy Markdown
Member

Thanks, but if we make this change, it will only work for newer version of npm, while --global is still supported. Maybe we should wait a bit?

@bolbolamir

Copy link
Copy Markdown
Author

Thanks, but if we make this change, it will only work for newer version of npm, while --global is still supported. Maybe we should wait a bit?

I guess you are right, didn't notice that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants