Skip to content

Commit d67f48a

Browse files
rylevKobzol
andauthored
Update site/src/comparison.rs
Co-authored-by: Jakub Beránek <[email protected]>
1 parent bbd0ac7 commit d67f48a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

site/src/comparison.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,7 @@ async fn populate_report(
153153
// Get the combined direction of the primary and secondary summaries
154154
let direction = match (primary.direction(), secondary.direction()) {
155155
(Some(d1), Some(d2)) if d1 != d2 => Direction::Mixed,
156-
(Some(Direction::Improvement), Some(_) | None) => Direction::Improvement,
157-
(Some(Direction::Regression), Some(_) | None) => Direction::Regression,
158-
(Some(Direction::Mixed), Some(_) | None) => Direction::Mixed,
156+
(Some(d), Some(_) | None) => d,
159157
(None, Some(d)) => d,
160158
(None, None) => return,
161159
};

0 commit comments

Comments
 (0)