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(cli): make no-open preview option work correctly #52

Merged
merged 1 commit into from Nov 5, 2023

Conversation

co-sic
Copy link
Contributor

@co-sic co-sic commented Nov 5, 2023

Component / Package Name:

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

no-open option that is described in the help of the preview command is currently not working (throwing error since the validation expects a "open" boolean value)

@shellscape
Copy link
Owner

Thanks for the PR. FWIW this bug is from thinking like we're using yargs-parser, with the built-in parseArgs not working the same.

We'll merge this in as-is so you can use this fix immediately, but I'm going to pivot to yargs-parser later today.

@shellscape shellscape merged commit 095a0b1 into shellscape:main Nov 5, 2023
2 checks passed
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