We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbd0ac7 commit d67f48aCopy full SHA for d67f48a
site/src/comparison.rs
@@ -153,9 +153,7 @@ async fn populate_report(
153
// Get the combined direction of the primary and secondary summaries
154
let direction = match (primary.direction(), secondary.direction()) {
155
(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,
+ (Some(d), Some(_) | None) => d,
159
(None, Some(d)) => d,
160
(None, None) => return,
161
};
0 commit comments