-
Notifications
You must be signed in to change notification settings - Fork 24
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
[MER-2347] No positional args. #153
Conversation
Current Aviator status
This PR was merged using Aviator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor enough that it's not an issue to add tests imo. FYI gittest is just an internal utility library to create temporary git repos for testing on.
cmd/av/stack_sync.go
Outdated
@@ -48,6 +48,7 @@ latest commit to the repository base branch (e.g., main or master) into the | |||
stack. This is useful for rebasing a whole stack on the latest changes from the | |||
base branch. | |||
`), | |||
PositionalArgs: cobra.NoArgs, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be Args
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I had this locally and then pushed the wrong state. >.<
Rewriting history please hold.
a583a85
to
97cd1d8
Compare
Has no test code.
Arguably this warrants adding a test case that verifies we error on positional args to stack sync.
I looked at our e2e_tests for a bit and didn't have an immediate idea of where/ how to add this and I'm not yet familiar with gittest. Feel free to bounce back to me that this needs a testcase.