Skip to content

Commit

Permalink
apply nit
Browse files Browse the repository at this point in the history
Co-authored-by: Albert Larsan <albertlarsan@unbon.cafe>
  • Loading branch information
RalfJung and albertlarsan68 authored Jul 31, 2023
1 parent bdc3ed5 commit 314fe5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/build_helper/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ pub fn get_git_modified_files(
if let Some(git_dir) = git_dir {
git.current_dir(git_dir);
}
let files = output_result(git.arg("diff-index").arg("--name-only").arg(merge_base.trim()))?
let files = output_result(git.args(["diff-index", "--name-only", merge_base.trim()]))?
.lines()
.map(|s| s.trim().to_owned())
.filter(|f| {
Expand Down

0 comments on commit 314fe5d

Please sign in to comment.