Skip to content

Commit 1953843

Browse files
committed
fix: remove warning output
1 parent f41e42c commit 1953843

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cpp_linter_hooks/util.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,5 @@ def is_installed(tool: str) -> Optional[Path]:
214214
def ensure_installed(tool: str, version: Optional[str] = None) -> None:
215215
"""Ensure a tool is installed, resolving its version if necessary."""
216216
LOG.info("Ensuring %s is installed", tool)
217-
tool_path = _resolve_install(tool, version)
218-
if tool_path:
219-
LOG.info("%s available at %s", tool, tool_path)
220-
LOG.warning("%s not found and could not be installed", tool)
217+
_resolve_install(tool, version)
218+

0 commit comments

Comments
 (0)