Skip to content

Improve logs and skip validation for disabled platforms - #672

Open
vbuberen wants to merge 1 commit into
fluttercommunity:masterfrom
vbuberen:refactor/log_messages
Open

Improve logs and skip validation for disabled platforms#672
vbuberen wants to merge 1 commit into
fluttercommunity:masterfrom
vbuberen:refactor/log_messages

Conversation

@vbuberen

@vbuberen vbuberen commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

During CI runs for app builds I noticed that if icons generation for some platform is disabled in the yaml file, like with

  web:
    generate: false

logs output shows Requirements failed for platform.... line which is misleading and confuses users. Here is an example with before:

Screenshot 2026-07-15 at 00 25 25

This PR changes logs output, so if some platform has generate: false there will be no lines about requirements failed as well as no config validation calls.

Here is after:
Screenshot 2026-07-15 at 00 49 41

P.S. Didn't touch logger functions in Android and iOS, because while it would be good to unify all platforms, the PR would have a much bigger scope than initially planned.

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