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: always add --verbose to the command #1953

Merged

Conversation

szymonrybczak
Copy link
Collaborator

Summary:

Recently we added .enablePositionalOptions() to the commander, and this caused one problem, because we specified --verbose directly to the react-native so we were able to do react-native --verbose, but if we did react-native run-android --verbose it didn't work - so the solution for this is to add --verbose to every command.

Test Plan:

npx react-native -v <- should give version of CLI
npx react-native --verbose <- shouldn't work
npx react-native run-android --verbose <- should pass verbose to run-android

@thymikee
Copy link
Member

thymikee commented Jun 5, 2023

Need to update snapshots

@szymonrybczak szymonrybczak merged commit 232b5ba into react-native-community:main Jun 5, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants