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

feat: skip transaction upload if no transactions are parsed #278

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

tobim-dev
Copy link
Contributor

I have multiple bank files that I automatically export from my banking software, but they always cover only the last 10 days. As a result, some files are empty CSV files. While these files still get parsed, I encounter an error during the YNAB upload.

This change skips the transaction upload if the transactions array is empty.

Copy link

codecov bot commented Jun 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.19%. Comparing base (2492a97) to head (90e3ddf).
Report is 60 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #278      +/-   ##
==========================================
- Coverage   95.30%   95.19%   -0.12%     
==========================================
  Files          13       13              
  Lines        1236     1270      +34     
  Branches      104       68      -36     
==========================================
+ Hits         1178     1209      +31     
- Misses         54       61       +7     
+ Partials        4        0       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nielsmaerten nielsmaerten merged commit 1e8da98 into nielsmaerten:main Jun 10, 2024
7 of 8 checks passed
@nielsmaerten
Copy link
Owner

Great addition! Thanks 🥳

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