diff --git a/poetry/console/application.py b/poetry/console/application.py index e2f9f3b6a3e..d9d9277d274 100644 --- a/poetry/console/application.py +++ b/poetry/console/application.py @@ -304,19 +304,7 @@ def _load_plugins(self, io: IO) -> None: if self._plugins_loaded: return - from cleo.exceptions import CommandNotFoundException - - name = self._get_command_name(io) - command_name = "" - if name: - try: - command_name = self.find(name).name - except CommandNotFoundException: - pass - - self._disable_plugins = ( - io.input.has_parameter_option("--no-plugins") or command_name == "new" - ) + self._disable_plugins = io.input.has_parameter_option("--no-plugins") if not self._disable_plugins: from poetry.plugins.plugin_manager import PluginManager