Skip to content

Commit

Permalink
squash: missing variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
happz committed May 4, 2023
1 parent b59b541 commit 476dc2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tmt/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,9 @@ def detect_enum_violations(error: jsonschema.ValidationError) -> LinterReturn:
else:
json_path += f'.{elem}'

else:
json_path = error.json_path

yield LinterOutcome.WARN, \
f'value of "{json_path.split(".")[-1]}" is not "{match.group(2)}"'

Expand Down

0 comments on commit 476dc2a

Please sign in to comment.