mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-10 23:24:54 +03:00
Improve error message
This commit is contained in:
parent
91a173fae3
commit
4614a89bcc
|
@ -279,8 +279,8 @@ def validate_project_commands(config: Dict[str, Any]) -> None:
|
||||||
)
|
)
|
||||||
if len(steps) != len(set(steps)):
|
if len(steps) != len(set(steps)):
|
||||||
msg.fail(
|
msg.fail(
|
||||||
f"A parallel group within '{workflow_name}' contains a command more than once.",
|
f"Invalid parallel group within '{workflow_name}'.",
|
||||||
f"This is not permitted because it is then not possible to determine when to rerun.",
|
f"A parallel group may not contain a command more than once.",
|
||||||
exits=1,
|
exits=1,
|
||||||
)
|
)
|
||||||
for step in steps:
|
for step in steps:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user