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

Fix cache bug and fail on cache creation failures #296

Merged
merged 2 commits into from
Jul 28, 2021
Merged

Conversation

travisbrown
Copy link
Owner

The first commit fixes a definite bug. The second removes a warning println I hadn't noticed before. I've changed it to fail hard on any cache creation failure, which seems reasonable to me. If we really want a warning here, we could come up with some other mechanism, but I'd prefer to avoid println.

@codecov-commenter
Copy link

codecov-commenter commented Jul 28, 2021

Codecov Report

Merging #296 (46f8874) into main (0555246) will increase coverage by 0.12%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #296      +/-   ##
==========================================
+ Coverage   58.80%   58.92%   +0.12%     
==========================================
  Files          30       30              
  Lines         954      952       -2     
  Branches       55       58       +3     
==========================================
  Hits          561      561              
+ Misses        393      391       -2     
Impacted Files Coverage Δ
...rc/main/scala/org/dhallj/imports/ImportCache.scala 96.15% <100.00%> (+6.86%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0555246...46f8874. Read the comment docs.

@travisbrown travisbrown merged commit ef5926f into main Jul 28, 2021
@travisbrown travisbrown deleted the topic/cache-bugs branch July 28, 2021 12:26
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