diff --git a/src/poetry/console/commands/group_command.py b/src/poetry/console/commands/group_command.py index 2a2b0a3ae44..88b9a1ce39a 100644 --- a/src/poetry/console/commands/group_command.py +++ b/src/poetry/console/commands/group_command.py @@ -129,4 +129,3 @@ def _validate_group_options(self, group_options: dict[str, set[str]]) -> None: ) message_parts.append(f"{group} (via {opts})") raise GroupNotFound(f"Group(s) not found: {', '.join(message_parts)}") - return len(invalid_options) == 0