flutter_cache_manager
flutter_cache_manager copied to clipboard
fix: (Throws FormatException: Unexpected end of input (at character 1)) - check a file has content before process
:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Fixes an exception caused by empty files
:arrow_heading_down: What is the current behavior?
Throws FormatException: Unexpected end of input (at character 1)
:new: What is the new behavior (if this is a feature change)?
No error logged
:boom: Does this PR introduce a breaking change?
No
:bug: Recommendations for testing
:memo: Links to relevant issues/docs
:thinking: Checklist before submitting
- [ ] All projects build
- [ ] Follows style guide lines (code style guide)
- [ ] Relevant documentation was updated
- [ ] Rebased onto current develop