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 f41e42c commit 1953843Copy full SHA for 1953843
cpp_linter_hooks/util.py
@@ -214,7 +214,5 @@ def is_installed(tool: str) -> Optional[Path]:
214
def ensure_installed(tool: str, version: Optional[str] = None) -> None:
215
"""Ensure a tool is installed, resolving its version if necessary."""
216
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)
+ _resolve_install(tool, version)
+
0 commit comments