Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(package-manager): use npm_config_user_agent env var #510

Merged
merged 1 commit into from
Dec 30, 2023

Conversation

paularmstrong
Copy link
Owner

Problem:

Not really a problem, but determining the package manager through file lookups takes extra processing.

Solution:

If it is set, use the environment variable npm_config_user_agent

@paularmstrong paularmstrong merged commit 154a2d1 into main Dec 30, 2023
15 checks passed
@paularmstrong paularmstrong deleted the pkg-manager-ua branch December 30, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant