Skip to content

Commit 49ae760

Browse files
committed
fix typos in Pydantic error messages
1 parent 4da997c commit 49ae760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conda_forge_tick/models/node_attributes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,13 +295,13 @@ def check_version_match(self) -> Self:
295295
for output in self.meta_yaml.outputs or []:
296296
if output.version is None:
297297
raise ValueError(
298-
"If the `top-level version` field is None, all outputs must specify their own versions."
298+
"If the top-level `version` field is None, all outputs must specify their own versions."
299299
)
300300
output_versions.add(output.version)
301301

302302
if self.version not in output_versions:
303303
raise ValueError(
304-
"The to[-level ]`version` field must match at least one of the `outputs[].version` fields "
304+
"The top-level `version` field must match at least one of the `outputs[].version` fields "
305305
"in the `meta_yaml` field."
306306
)
307307
return self

0 commit comments

Comments
 (0)