Skip to content

Commit

Permalink
Underline
Browse files Browse the repository at this point in the history
  • Loading branch information
Ardorax committed Mar 24, 2022
1 parent 0434b09 commit 2ea987a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ def send_webhooks(Checker, url, color: int, file_path: str, desc: str,coverage,
if coverage != None:
fields.append({
"name": "Line Coverage",
"value": + "__" + str(coverage["line_percent"]) + "%" + "__\n" + str(coverage["line_covered"]) + " / " + str(coverage["line_total"]),
"value": "__" + str(coverage["line_percent"]) + "%__\n" + str(coverage["line_covered"]) + " / " + str(coverage["line_total"]),
"inline": True
})
fields.append({
"name": "Branch Coverage",
"value": "__" + str(coverage["branch_percent"]) + "%" + "__\n" + str(coverage["branch_covered"]) + " / " + str(coverage["branch_total"]),
"value": "__" + str(coverage["branch_percent"]) + "%__\n" + str(coverage["branch_covered"]) + " / " + str(coverage["branch_total"]),
"inline": False
})

Expand Down

0 comments on commit 2ea987a

Please sign in to comment.