Skip to content

Commit

Permalink
[MER-2347] No positional args. (#153)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ErichKramer committed Jun 1, 2023
1 parent e1aa574 commit 98dfc39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/av/stack_sync.go
Expand Up @@ -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.
`),
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
ctx := context.Background()

Expand Down

0 comments on commit 98dfc39

Please sign in to comment.