Skip to content

Commit

Permalink
🐛 fix validate case sensitve bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Wytamma committed Mar 28, 2024
1 parent 06be3ce commit 5ee29ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snk_cli/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def validate_and_transform_in_place(config: Dict[str, Any], validation: Validati
val_info = validation[key]
if isinstance(val_info, dict) and 'type' in val_info:
# Direct type validation
val_type = types.get(val_info["type"], None)
val_type = types.get(val_info["type"].lower(), None)
if val_type is None:
raise ValueError(f"Unknown type '{val_info['type']}'")
try:
Expand Down

0 comments on commit 5ee29ff

Please sign in to comment.