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

Remove duplicate --production flag from licenses #2005

Merged
merged 1 commit into from Nov 23, 2016

Conversation

busches
Copy link
Contributor

@busches busches commented Nov 23, 2016

Summary

There is code currently that explicitly adds a --production flag option to the licenses command. This is unneeded and results in duplicate output of the flag when running yarn help licenses

Test plan

Running bin\yarn.cmd licenses ls and bin\yarn.cmd licenses ls --production result in the same results using the latest yarn. There currently are no tests around licenses.js and removing code seems like the wrong time to add them.

No need to add --production flag explicitly to licenses as it's already a
global flag. This also fixes the --production flag from appearing twice
when running `yarn help licenses`
@sebmck sebmck merged commit 2a4a56f into yarnpkg:master Nov 23, 2016
@busches busches deleted the duplicate-production-flag branch November 23, 2016 16:03
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