fix(tui): don't show HEAD in log
All checks were successful
Rust / build (push) Successful in 7m17s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 1m25s
All checks were successful
Rust / build (push) Successful in 7m17s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 1m25s
This commit is contained in:
parent
02609fdc11
commit
d2048d8a34
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ impl From<LogLine> for Line<'_> {
|
|||
let mut branches = BRANCHES
|
||||
.captures_iter(&caps["branches"])
|
||||
.map(|captures| captures["branch"].to_owned())
|
||||
.filter(|branch| branch != "HEAD")
|
||||
.collect::<Vec<_>>();
|
||||
if branches.is_empty() {
|
||||
// line without branches
|
||||
|
|
Loading…
Reference in a new issue