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

[FEATURE REQUEST] Add warning if config file isnt located next to pubspec.yaml directory #257

Closed
apgapg opened this issue Jun 8, 2021 · 1 comment

Comments

@apgapg
Copy link

apgapg commented Jun 8, 2021

💬 Description

I placed all my launcher icon config files in a dir named launcher_icon/ due to which flavors weren't respected.
After struggle, I saw a note in README to place it within the same dir as of pubspec.yaml.

Can we add a warning in console stating to put config file besides pubspec so as to prevent errors for future developers?

@timbrueckner
Copy link

I think, this issue was fixed with #398. If the plugin does not find a config file, it now hints to use the --file option in order to point to the config.

✗ ERROR: NoConfigFoundException
No configuration found in flutter_launcher_icons.yaml or in pubspec.yaml. In case file exists in different directory use --file option

@apgapg apgapg closed this as completed Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants