From 686a32cbc025c26b91c1529bf1c1a1b07c637e0f Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 24 Feb 2025 09:28:31 -0800 Subject: [PATCH] refactor: Remove debug dump call in pipe_editor function --- aider/editor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/editor.py b/aider/editor.py index 61dd9bd52..a7d00601d 100644 --- a/aider/editor.py +++ b/aider/editor.py @@ -16,7 +16,7 @@ import tempfile from rich.console import Console -from aider.dump import dump +from aider.dump import dump # noqa DEFAULT_EDITOR_NIX = "vi" DEFAULT_EDITOR_OS_X = "vim" @@ -133,7 +133,7 @@ def pipe_editor(input_data="", suffix=None, editor=None): command_parts = discover_editor(editor) command_parts.append(filepath) command_str = " ".join(shlex.quote(part) for part in command_parts) - dump(command_str) + subprocess.call(command_str, shell=True) with open(filepath, "r") as f: output_data = f.read()