FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: (Throws FormatException: Unexpected end of input (at character 1)) - check a file has content before process by a-benamer · Pull Request #497 · Baseflow/flutter_cache_manager · GitHub

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

Open
a-benamer wants to merge 1 commit into
Baseflow:developfrom
a-benamer:fix-check-file-has-content
Open

fix: (Throws FormatException: Unexpected end of input (at character 1)) - check a file has content before process#497
a-benamer wants to merge 1 commit into
Baseflow:developfrom
a-benamer:fix-check-file-has-content

Conversation

Copy link
Copy Markdown

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Fixes an exception caused by empty files

⤵️ What is the current behavior?

Throws FormatException: Unexpected end of input (at character 1)

🆕 What is the new behavior (if this is a feature change)?

No error logged

💥 Does this PR introduce a breaking change?

No

🐛 Recommendations for testing

📝 Links to relevant issues/docs

🤔 Checklist before submitting

  • All projects build
  • Follows style guide lines (code style guide)
  • Relevant documentation was updated
  • Rebased onto current develop

rickdijk force-pushed the fix-check-file-has-content branch from c9cb817 to 2accefc Compare July 20, 2026 17:57

await tempFile.delete();
FlutterError.onError = originalOnError;
});

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
});
},
);

Please format after this change so the test description line formats to a line of its own. Just for readability

rickdijk commented Jul 20, 2026
edited
Loading

Copy link
Copy Markdown
Contributor
  • Please resolve the CI issues, thanks in advance
  • Please update the CHANGELOG.md accordingly

rickdijk force-pushed the fix-check-file-has-content branch from 2accefc to 12b96ae Compare July 21, 2026 17:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL