Skip to content

Commit 1f87c66

Browse files
committed
chore: fix branch name in bench
1 parent 2e1f2a8 commit 1f87c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/xtask/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ impl Xtasks {
12231223
.current_dir(workspace_dir.clone())
12241224
.output()
12251225
.with_context(|| "Trying to figure out which branch we're on in benchmarking")?;
1226-
let branch = String::from_utf8(command.stdout)?;
1226+
let branch = String::from_utf8(command.stdout)?.trim().replace("\n", "");
12271227

12281228
let is_main = branch.trim() == "main";
12291229

0 commit comments

Comments
 (0)