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

Correct the persistent store behavior #29

Merged
merged 3 commits into from
Jul 15, 2019

Conversation

cfunkhouser
Copy link
Owner

The previous implementation of the persistent store accumulated JSON objects each time a refresh was triggered. The proper behavior is to overwrite the file, instead of appending.

Signed-off-by: Christian Funkhouser <christian.funkhouser@gmail.com>
Signed-off-by: Christian Funkhouser <christian.funkhouser@gmail.com>
@cfunkhouser cfunkhouser self-assigned this Jul 11, 2019
Signed-off-by: Christian Funkhouser <christian.funkhouser@gmail.com>
@codecov
Copy link

codecov bot commented Jul 11, 2019

Codecov Report

Merging #29 into master will increase coverage by 0.45%.
The diff coverage is 60%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   42.57%   43.02%   +0.45%     
==========================================
  Files           4        4              
  Lines         249      251       +2     
==========================================
+ Hits          106      108       +2     
  Misses        129      129              
  Partials       14       14
Impacted Files Coverage Δ
token.go 48.54% <60%> (+1.01%) ⬆️

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 783bfa0...0c7af5c. Read the comment docs.

@cfunkhouser cfunkhouser merged commit f1bea1c into master Jul 15, 2019
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.

None yet

2 participants