mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-09 22:54:53 +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)):
|
||||
msg.fail(
|
||||
f"A parallel group within '{workflow_name}' contains a command more than once.",
|
||||
f"This is not permitted because it is then not possible to determine when to rerun.",
|
||||
f"Invalid parallel group within '{workflow_name}'.",
|
||||
f"A parallel group may not contain a command more than once.",
|
||||
exits=1,
|
||||
)
|
||||
for step in steps:
|
||||
|
|
Loading…
Reference in New Issue
Block a user