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

🐛 Use {} as fallback for history.yaml. #137

Merged
merged 1 commit into from
Jun 20, 2019

Conversation

YtvwlD
Copy link
Contributor

@YtvwlD YtvwlD commented Jun 20, 2019

Otherwise, YAML.load_file returns false for an empty file,
which messed the whole thing up.

Otherwise, YAML.load_file returns false for an empty file,
which messed the whole thing up.
Copy link
Member

@kinow kinow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small change. Looks sensible. Tested in irb, LGTM

@kinow
Copy link
Member

kinow commented Jun 20, 2019

Hmmm, unfortunately two build failures in Travis @YtvwlD . Otherwise ready to merge I think

@YtvwlD
Copy link
Contributor Author

YtvwlD commented Jun 20, 2019

These failures also happen with the current master: https://travis-ci.org/YtvwlD/smashing

@kinow
Copy link
Member

kinow commented Jun 20, 2019

I was afraid of that. Let me find some time to investigate it later and then we can rebase this one and merge.

@kinow
Copy link
Member

kinow commented Jun 20, 2019

Thinking twice, it actually passes in one of the Ruby versions. So let's merge and will sort the build in Travis later in a separate issue 👍

@kinow kinow merged commit 7f7af1c into Smashing:master Jun 20, 2019
@kinow kinow mentioned this pull request Jun 20, 2019
@YtvwlD
Copy link
Contributor Author

YtvwlD commented Jun 20, 2019

Thank you. :)

@kinow
Copy link
Member

kinow commented Jun 20, 2019

Thank you for your contribution @YtvwlD !

@kinow kinow added this to the 1.2 milestone May 16, 2020
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