From 130a43f779a5453f5bdfd117ef9f7288440db11e Mon Sep 17 00:00:00 2001 From: Daniel D'Avella Date: Tue, 12 Dec 2023 15:53:58 -0500 Subject: [PATCH] Fix codemodder executable paths --- src/pixee/cli.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/pixee/cli.py b/src/pixee/cli.py index 2c6b238..7e3b393 100644 --- a/src/pixee/cli.py +++ b/src/pixee/cli.py @@ -25,14 +25,8 @@ JAVA_CODEMODDER = os.environ.get("PIXEE_JAVA_CODEMODDER", "pixee-java-codemods") CODEMODDER_MAPPING = { - "python": ( - os.environ.get("PIXEE_PYTHON_CODEMODDER", "pixee-python-codemodder"), - "*.py", - ), - "java": ( - os.environ.get("PIXEE_JAVA_CODEMODDER", "pixee-java-codemodder"), - "*.java", - ), + "python": (PYTHON_CODEMODDER, "*.py"), + "java": (JAVA_CODEMODDER, "*.java"), } # It's not ideal for the CLI to have to encode this information but it's necessary for now