File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
435
435
({{(summaryPair[1].improvements_avg).toFixed(2)}}%)
436
436
</ span >
437
437
< span class ="summary " v-bind:class ="percentClass(summaryPair[1].average) ">
438
- {{ signIfNegative (summaryPair[1].average) }}{{ (summaryPair[1].average).toFixed(2) }}%
438
+ {{ signIfPositive (summaryPair[1].average) }}{{ (summaryPair[1].average).toFixed(2) }}%
439
439
</ span >
440
440
</ div >
441
441
</ div >
@@ -768,11 +768,11 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
768
768
prLink ( pr ) {
769
769
return `https://github.com/rust-lang/rust/pull/${ pr } ` ;
770
770
} ,
771
- signIfNegative ( pct ) {
771
+ signIfPositive ( pct ) {
772
772
if ( pct >= 0 ) {
773
- return "" ;
773
+ return "+ " ;
774
774
}
775
- return "- " ;
775
+ return "" ;
776
776
} ,
777
777
percentClass ( pct ) {
778
778
let klass = "" ;
You can’t perform that action at this time.
0 commit comments