diff --git a/backoffice/validate_format.py b/backoffice/validate_format.py index 87593950..b11da623 100644 --- a/backoffice/validate_format.py +++ b/backoffice/validate_format.py @@ -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], ) )