Skip to content

Commit

Permalink
Update lib/main.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Ratakondala Arun <[email protected]>
  • Loading branch information
MarkOSullivan94 and RatakondalaArun authored Jul 27, 2022
1 parent 2713188 commit 3a2fe32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Map<String, dynamic>? loadConfigFileFromArgResults(ArgResults argResults, {bool
Map<String, dynamic> loadConfigFile(String path, String? fileOptionResult) {
final yamlMap = PubspecParser.toMap(path);

if (!(yamlMap['flutter_icons'] is Map)) {
if (yamlMap['flutter_icons'] is! Map) {
stderr.writeln(NoConfigFoundException('Check that your config file '
'`${fileOptionResult ?? defaultConfigFile}`'
' has a `flutter_icons` section'));
Expand Down

0 comments on commit 3a2fe32

Please sign in to comment.