Skip to content

Commit

Permalink
fix error entries
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Feb 28, 2024
1 parent 2f415b3 commit 5aefd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backoffice/validate_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def validate_format(staged: StagedVersion):
ValidationDetail(
name="Enforce that RDF has unpublished semantic version (field `sem_ver`)",
status="passed" if error is None else "failed",
errors=[error],
errors=[] if error is None else [error],
)
)

Expand Down

0 comments on commit 5aefd54

Please sign in to comment.