Skip to content

Commit

Permalink
+-
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Jan 23, 2024
1 parent bdbd0d1 commit c7063c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/pkg/pr.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ func (p *PR) Get(req *PRRequest, types []models.Type) (string, error) {

func (p *PR) UpOrDown(baseScore *float64, branchScore *float64) string {
if *baseScore > *branchScore {
return "+"
return "-"
}
if *baseScore < *branchScore {
return "-"
return "+"
}
return ""
}
Expand Down

0 comments on commit c7063c5

Please sign in to comment.