diff --git a/util/lib/main.dart b/util/lib/main.dart index 10a17d8..a766ccc 100644 --- a/util/lib/main.dart +++ b/util/lib/main.dart @@ -123,7 +123,7 @@ void main(List rawArgs) async { final Set styles = {}; // duotone icons are no longer supported final List excludedStyles = ['duotone', ...args['exclude']]; - final hasDuotoneIcons = readAndPickMetadata( + var hasDuotoneIcons = readAndPickMetadata( iconsJson, metadata, styles, versions, excludedStyles); if (hasDuotoneIcons) { // Duotone are no longer supported - temporarily added notice to avoid @@ -131,6 +131,7 @@ void main(List rawArgs) async { print(red( 'Duotone icons are no longer supported. Automatically disabled them.')); } + hasDuotoneIcons = false; final highestVersion = calculateFontAwesomeVersion(versions);