Rollup merge of #138046 - onur-ozkan:trim-include-str, r=jieyouxu
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`.
This commit is contained in:
commit
3ce0614950
1 changed files with 1 additions and 1 deletions
|
@ -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() &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue