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

Bump oclif core & use default missing flag handler #2711

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

otaviojacobi
Copy link
Contributor

@otaviojacobi otaviojacobi commented Dec 8, 2023

Change-type: patch

For context @oclif/core library won't throw "Missing required Flag" anymore as per: https://github.com/oclif/core/pull/861/files#diff-7219ede97254ede20475fce02b9cf5cd9285f3422de87f844b96fc156d44ec94L79

The error is handled in a different way now since several releases ago: https://github.com/oclif/core/blob/0b49d9e2d300f30519d58bf61f0d662493ce5dd5/src/parser/validate.ts#L78

Resolves: #
Change-type: major|minor|patch
Depends-on:
See:


Please check the CONTRIBUTING.md file for relevant information and some
guidance. Keep in mind that the CLI is a cross-platform application that runs
on Windows, macOS and Linux. Tests will be automatically run by balena CI on
all three operating systems, but this will only help if you have added test
code that exercises the modified or added feature code.

Note that each commit message (currently only the first line) will be
automatically copied to the CHANGELOG.md file, so try writing it in a way
that describes the feature or fix for CLI users.

If there isn't a linked issue or if the linked issue doesn't quite match the
PR, please add a PR description to explain its purpose or the features that it
implements. Adding PR comments to blocks of code that aren't self explanatory
usually helps with the review process.

If the PR introduces security considerations or affects the development, build
or release process, please be sure to highlight this in the PR description.

Thank you very much for your contribution!

@flowzone-app flowzone-app bot enabled auto-merge December 8, 2023 13:32
@otaviojacobi otaviojacobi force-pushed the bump-oclif-core branch 2 times, most recently from 2847543 to 594e4db Compare December 8, 2023 14:31
@otaviojacobi
Copy link
Contributor Author

LGTM

@flowzone-app flowzone-app bot merged commit 81ee9f3 into master Dec 8, 2023
55 checks passed
@flowzone-app flowzone-app bot deleted the bump-oclif-core branch December 8, 2023 15:54
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.

1 participant