JohnSundell / Files

A nicer way to handle files & folders in Swift
MIT License
2.53k stars 182 forks source link

Fix content not being considered when creating file if needed #94

Closed JohnSundell closed 5 years ago

JohnSundell commented 5 years ago

This patch fixes a bug that would cause a new file’s content to not be considered when using the createFileIfNeeded API.

Thanks to @maximkrouk for reporting this issue.