Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default cases in switches and fix CI issues #1659

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vicajilau
Copy link

@vicajilau vicajilau commented Dec 30, 2024

This PR addresses the following changes to improve code quality and maintainability in the flutter_file_picker project:

1. Remove Default Cases in Switches

  • Followed the no_default_cases lint rule to ensure exhaustive handling of cases in switch statements.
  • This prevents unintended behavior when new enum values are added in the future and ensures clarity in the code.

2. Fix CI Failures

  • Addressed CI issues as per the logs in the GitHub Actions run #12503559958

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.

1 participant