• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Geoffery10 / Discord-Role-Manager / 27890045690
90%

Build:
DEFAULT BRANCH: main
Ran 21 Jun 2026 01:46AM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jun 2026 01:44AM UTC coverage: 64.804% (-0.003%) from 64.807%
27890045690

push

github

Geoffery10
Remove dead DEBUG branch in check_if_update_needed

check_if_update_needed had a 'DEBUG = False' local variable with an
if/else around the last_update.json write. The 'else' branch was
unreachable — DEBUG was hardcoded False at the top of the block, so
nothing could ever set it to True without source modification.

Inlined the JSON write into the surrounding if-block. The function
now reads as the day-changed gate it was meant to be: if today differs
from last_update.json, write the new date and run update().

If a 'skip the write for debugging' bypass is ever wanted back, it
should be wired through a real env var or function arg, not a local
boolean.

Side effect: update.py coverage jumps from 98% to 100% since the
unreachable line is gone.

2 of 2 new or added lines in 1 file covered. (100.0%)

1473 of 2273 relevant lines covered (64.8%)

0.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27890045690.1 21 Jun 2026 01:46AM UTC 22
64.8
GitHub Action Run
Source Files on build 27890045690
  • Tree
  • List 22
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27890045690
  • 685b88e3 on github
  • Prev Build on main (#27889998957)
  • Next Build on main (#27890233744)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc