wakatime / wakatime-cli

Command line interface used by all WakaTime text editor plugins
https://wakatime.com/plugins
BSD 3-Clause "New" or "Revised" License
277 stars 41 forks source link

Simplify logic for gitpod #999

Closed gandarez closed 8 months ago

gandarez commented 9 months ago

This PR simplifies the logic for Gitpod by reducing nested ifs. It also runs go mod tidy to fix go.sum file.

codecov-commenter commented 8 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (e9d6c55) 62.95% compared to head (9faa48b) 62.95%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@           Coverage Diff            @@
##           develop     #999   +/-   ##
========================================
  Coverage    62.95%   62.95%           
========================================
  Files          373      373           
  Lines        15957    15958    +1     
========================================
+ Hits         10045    10046    +1     
  Misses        5378     5378           
  Partials       534      534           
Flag Coverage Δ
unittests 62.95% <75.00%> (+<0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
cmd/params/params.go 85.86% <75.00%> (+0.01%) :arrow_up: