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

Generate snapshot declarations before opening output file #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

estyrke
Copy link

@estyrke estyrke commented Oct 24, 2020

If there is an error while generating the declarations, the output file will be truncated. This will cause existing snapshots to disappear, as well as make further runs fail because of an invalid snapshot file.

If there is an error while generating the declarations, the output file will be truncated. This will cause existing snapshots to disappear, as well as make further runs fail because of an invalid snapshot file.
@paulmelnikow
Copy link
Collaborator

Hi! Thanks for the contribution. This change makes sense to me.

It would be good to include a functional test of the problem this is trying to fix, so that it does not regress in the future.

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