Skip to content

Commit

Permalink
Merge pull request exercism#797 from jdsutherland/submit-handles-no-args
Browse files Browse the repository at this point in the history
Fix panic when submit not given args
  • Loading branch information
Katrina Owen authored Feb 26, 2019
2 parents 4924d44 + 51f1668 commit 0b8fcea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var submitCmd = &cobra.Command{
Call the command with the list of files you want to submit.
`,
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
cfg := config.NewConfig()

Expand Down

0 comments on commit 0b8fcea

Please sign in to comment.