Skip to content

Commit 3333796

Browse files
committed
fix: clang tools' version output string in PR review summary
1 parent 7dfcce7 commit 3333796

File tree

1 file changed

+1
-1
lines changed
  • cpp-linter/src/clang_tools

1 file changed

+1
-1
lines changed

cpp-linter/src/clang_tools/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ impl ReviewComments {
276276
// If the tool's version is unknown, then we don't need to output this line.
277277
// NOTE: If the tool was invoked at all, then the tool's version shall be known.
278278
if let Some(ver_str) = tool_version {
279-
body.push_str(format!("### Used {tool_name} {ver_str}\n").as_str());
279+
body.push_str(format!("\n### Used {tool_name} v{ver_str}\n").as_str());
280280
}
281281
for comment in &self.comments {
282282
if comment

0 commit comments

Comments
 (0)