Skip to content

Commit

Permalink
Logical conflict file added (#7924)
Browse files Browse the repository at this point in the history
Co-authored-by: trunk bot <bot@trunk.io>
  • Loading branch information
EliSchleifer and trunk bot authored Apr 3, 2024
1 parent cecc932 commit 8845ca2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ fn maybe_add_logical_merge_conflict(config: &Conf) -> bool {
let filename = &config.pullrequest.logical_conflict_file;
std::fs::write(filename, "simulate logical merge conflict")
.expect("Unable to write logical merge conflict file");

git(&["add", &config.pullrequest.logical_conflict_file]);
return true;
}
false
Expand Down

0 comments on commit 8845ca2

Please sign in to comment.