Skip to content

Commit

Permalink
Rollup merge of #138046 - onur-ozkan:trim-include-str, r=jieyouxu
Browse files Browse the repository at this point in the history
trim channel value in `get_closest_merge_commit`

This was a silly bug which caused `git_upstream_merge_base` to never work because it was `nightly\n` not `nightly`.
  • Loading branch information
jieyouxu authored Mar 5, 2025
2 parents d2cdf5e + 056ec72 commit ce7506e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build_helper/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub fn get_closest_merge_commit(
git.current_dir(git_dir);
}

let channel = include_str!("../../ci/channel");
let channel = include_str!("../../ci/channel").trim();

let merge_base = {
if CiEnv::is_ci() &&
Expand Down

0 comments on commit ce7506e

Please sign in to comment.