Skip to content

Commit 991afc0

Browse files
remove injectables
1 parent 28f8eb1 commit 991afc0

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

codeflash/languages/javascript/test_runner.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,7 @@ def _ensure_runtime_files(project_root: Path) -> None:
182182
# Try to install from npm registry
183183
try:
184184
result = subprocess.run(
185-
["npm", "install", "--save-dev", "codeflash"],
186-
cwd=project_root,
187-
capture_output=True,
188-
text=True,
189-
timeout=120,
185+
["npm", "install", "--save-dev", "codeflash"], cwd=project_root, capture_output=True, text=True, timeout=120
190186
)
191187
if result.returncode == 0:
192188
logger.debug("Installed codeflash from npm registry")
@@ -195,10 +191,7 @@ def _ensure_runtime_files(project_root: Path) -> None:
195191
except Exception as e:
196192
logger.warning(f"Error installing from npm: {e}")
197193

198-
logger.error(
199-
"Could not install codeflash. "
200-
"Please install it manually: npm install --save-dev codeflash"
201-
)
194+
logger.error("Could not install codeflash. Please install it manually: npm install --save-dev codeflash")
202195

203196

204197
def run_jest_behavioral_tests(

0 commit comments

Comments
 (0)