Skip to content

Commit 9b74fbd

Browse files
committed
be consistent
1 parent 81a51bc commit 9b74fbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp-linter/src/clang_tools/clang_tidy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ pub fn run_clang_tidy(
297297
);
298298
cmd.args(["--line-filter", filter.as_str()]);
299299
}
300-
let repo_file_path = PathBuf::from_iter([&clang_params.repo_root, &file.name]);
300+
let repo_file_path = clang_params.repo_root.join(&file.name);
301301
let original_content = if !clang_params.tidy_review {
302302
None
303303
} else {

0 commit comments

Comments
 (0)