scelis / twine

Twine is a command line tool for managing your strings and their translations.
Other
840 stars 151 forks source link

Fix safe yaml crash #237

Closed eclair4151 closed 6 years ago

eclair4151 commented 6 years ago

Fix Safe Yaml crash

In some cases safe yaml will be loaded and cause it to crash when ever it is run before date class has been loaded. This can be seen in a few cases and makes it crash when ever twine is called.

https://github.com/dtao/safe_yaml/issues/80 https://github.com/test-kitchen/test-kitchen/issues/1327 https://github.com/jekyll/jekyll/issues/3201

This commit fixes that issue

scelis commented 6 years ago

Thank you!