Skip to content

Commit

Permalink
Fix validation for owner/repo/slug when parts < minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
lskillen committed Dec 3, 2017
1 parent 3d85a2f commit 2f41588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudsmith_cli/cli/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def validate_slashes(ctx, param, value, minimum=2, maximum=None, form=None):
if value:
if len(value) < minimum:
value = None
if maximum and len(value) > maximum:
elif maximum and len(value) > maximum:
value = None

if not value:
Expand Down

0 comments on commit 2f41588

Please sign in to comment.