diff --git a/poetry/installation/executor.py b/poetry/installation/executor.py index 8c1d621af03..4fbf88490d0 100644 --- a/poetry/installation/executor.py +++ b/poetry/installation/executor.py @@ -261,7 +261,7 @@ def _do_execute_operation(self, operation): return 0 - if not self._enabled or self._dry_run: + if not self._enabled: self._io.write_line( " • {message}".format( message=operation_message, @@ -270,6 +270,9 @@ def _do_execute_operation(self, operation): return 0 + if self._dry_run: + return 0 + result = getattr(self, "_execute_{}".format(method))(operation) if result != 0: