Skip to content

Commit 72519d5

Browse files
authored
Update env_utils.py
1 parent 7ba496d commit 72519d5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

codeflash/code_utils/env_utils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import os
22
from functools import lru_cache
33
from typing import Optional
4-
5-
import click
6-
74
from codeflash.cli_cmds.console import logger
85
from codeflash.code_utils.shell_utils import read_api_key_from_shell_config
96
from codeflash.verification.test_runner import execute_test_subprocess
@@ -16,7 +13,7 @@ def check_formatter_installed(formatter_cmds: list[str]) -> bool:
1613
try:
1714
execute_test_subprocess([formatter])
1815
except (FileNotFoundError, NotADirectoryError):
19-
click.echo(f"⚠️ Formatter not found: {formatter}, please ensure it is installed")
16+
logger.error(f"⚠️ Formatter not found: {formatter}, please ensure it is installed")
2017
return False
2118
return True
2219

0 commit comments

Comments
 (0)