Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if legacy offline queue file exists #1079

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

gandarez
Copy link
Member

This PR avoids trying to delete a non existing legacy offline queue file.

failed to delete legacy offline file: remove <path>/.wakatime.bdb: no such file or directory

@gandarez gandarez self-assigned this Jul 29, 2024
@gandarez gandarez enabled auto-merge July 29, 2024 01:18
Copy link

codecov bot commented Jul 29, 2024

Codecov Report

Attention: Patch coverage is 58.82353% with 14 lines in your changes missing coverage. Please review.

Project coverage is 63.00%. Comparing base (65ec92a) to head (65d83f0).

@@             Coverage Diff             @@
##           develop    #1079      +/-   ##
===========================================
- Coverage    63.05%   63.00%   -0.05%     
===========================================
  Files          383      383              
  Lines        16504    16500       -4     
===========================================
- Hits         10406    10396      -10     
- Misses        5531     5537       +6     
  Partials       567      567              
Flag Coverage Δ
unittests 63.00% <58.82%> (-0.05%) ⬇️

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

Files Coverage Δ
cmd/offline/offline.go 73.64% <ø> (-0.53%) ⬇️
cmd/offlinecount/offlinecount.go 37.50% <100.00%> (-14.89%) ⬇️
cmd/offlineprint/offlineprint.go 53.33% <100.00%> (-4.25%) ⬇️
cmd/offlinesync/offlinesync.go 56.07% <100.00%> (+2.80%) ⬆️
cmd/params/params.go 85.96% <100.00%> (-0.09%) ⬇️
cmd/heartbeat/heartbeat.go 77.91% <0.00%> (+1.01%) ⬆️
cmd/run.go 42.43% <0.00%> (ø)
pkg/offline/legacy.go 30.76% <25.00%> (-19.24%) ⬇️
pkg/offline/offline.go 55.74% <25.00%> (-0.83%) ⬇️

@alanhamlett alanhamlett merged commit 4b4c192 into develop Jul 29, 2024
20 of 21 checks passed
@alanhamlett alanhamlett deleted the bugfix/delete-legacy-offline branch July 29, 2024 09:44
@alanhamlett alanhamlett mentioned this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants