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.
else
1 parent 2a96fdf commit 3f12fffCopy full SHA for 3f12fff
cpp_linter_hooks/util.py
@@ -68,11 +68,10 @@ def _install_tool(tool: str, version: str) -> Optional[Path]:
68
)
69
if result.returncode == 0:
70
return shutil.which(tool)
71
- else:
72
- LOG.error("pip failed to install %s %s", tool, version)
73
- LOG.error(result.stdout)
74
- LOG.error(result.stderr)
75
- return None
+ LOG.error("pip failed to install %s %s", tool, version)
+ LOG.error(result.stdout)
+ LOG.error(result.stderr)
+ return None
76
77
78
def resolve_install(tool: str, version: Optional[str]) -> Optional[Path]:
0 commit comments