We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba496d commit 72519d5Copy full SHA for 72519d5
codeflash/code_utils/env_utils.py
@@ -1,9 +1,6 @@
1
import os
2
from functools import lru_cache
3
from typing import Optional
4
-
5
-import click
6
7
from codeflash.cli_cmds.console import logger
8
from codeflash.code_utils.shell_utils import read_api_key_from_shell_config
9
from codeflash.verification.test_runner import execute_test_subprocess
@@ -16,7 +13,7 @@ def check_formatter_installed(formatter_cmds: list[str]) -> bool:
16
13
try:
17
14
execute_test_subprocess([formatter])
18
15
except (FileNotFoundError, NotADirectoryError):
19
- click.echo(f"⚠️ Formatter not found: {formatter}, please ensure it is installed")
+ logger.error(f"⚠️ Formatter not found: {formatter}, please ensure it is installed")
20
return False
21
return True
22
0 commit comments