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

Fix -v flag not working for yarn@berry #175

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

Dimava
Copy link
Contributor

@Dimava Dimava commented Sep 11, 2023

Description

This PR fixes ni -vnot showing yarn@berry version due to passing yarn@berry as executable name.
With this commit getCommand is used to determine proper agent executable (node is handled separately.)

Linked Issues

#169

Additional context

This PR also adds --version flag alias and a tip in separate commits, those commits may be safely dropped/reverted if they are not needed.

@antfu antfu merged commit 41b7191 into antfu-collective:main Sep 11, 2023
4 checks passed
antfu pushed a commit that referenced this pull request Sep 11, 2023
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.

None yet

2 participants