flutter_cache_manager icon indicating copy to clipboard operation
flutter_cache_manager copied to clipboard

fix: (Throws FormatException: Unexpected end of input (at character 1)) - check a file has content before process

Open a-benamer opened this issue 3 months ago • 0 comments

: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

a-benamer avatar Sep 11 '25 07:09 a-benamer