Skip to content

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.

2 participants