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

Unable to run Flutter Launcher Icons without flutter_launcher_icons.yaml file #399

Closed
MarkOSullivan94 opened this issue Aug 3, 2022 · 0 comments · Fixed by #398
Closed

Comments

@MarkOSullivan94
Copy link
Collaborator

MarkOSullivan94 commented Aug 3, 2022

Hi @RatakondalaArun !
I think I found an issue that can block this release -- I can't run script without having flutter_launcher_icons.yaml.

It seems that the reason for this is in the following code:
https://github.com/fluttercommunity/flutter_launcher_icons/blob/master/lib/main.dart#L184

// Try pubspec.yaml for compatibility
   if (configFile == null) {
     try {
       return loadConfigFile('pubspec.yaml', fileOptionResult);
     } catch (_) {}
   }

configFile can't be null, because it has defaultConfigFile as a default value.

As as result, I always get NoConfigFoundException without flutter_launcher_icons.yaml file.

PR: #398

Originally posted by @p-mazhnik in #397 (comment)

Note: This is only affecting master branch and not a version of Flutter Launcher Icons uploaded to Pub

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 a pull request may close this issue.

1 participant