Skip to content

Commit

Permalink
#225: add label with accuracy grade to the ticket
Browse files Browse the repository at this point in the history
Fixed #225
  • Loading branch information
dgroup committed Sep 23, 2020
1 parent 30f328d commit 16d79a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lazylead/task/accuracy/accuracy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def evaluate(digits = 2)

# Post the comment with score and accuracy to the ticket.
def post
@issue.post(comment) unless @opts.key? "silent"
@issue.post comment unless @opts.key? "silent"
@issue.add_label "#{(@accuracy / 10) * 10}%" unless @opts.key? "silent"
end

# The jira comment in markdown format
Expand Down

0 comments on commit 16d79a5

Please sign in to comment.