Skip to content

Commit 735240c

Browse files
Update clang_tools/wheel.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 036159c commit 735240c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang_tools/wheel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def main() -> int:
2727
print(f"{args.tool} installed at: {path}")
2828
return 0
2929
else:
30-
print(f"Failed to install {args.tool} version {args.version}")
30+
version_str = f" version {args.version}" if args.version else ""
31+
print(f"Failed to install {args.tool}{version_str}")
3132
return 1
3233

3334

0 commit comments

Comments
 (0)