Skip to content

Commit

Permalink
Fix duotone icons still being generated
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelspiss committed Mar 18, 2022
1 parent 032ea42 commit b171266
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,15 @@ void main(List<String> rawArgs) async {
final Set<String> styles = {};
// duotone icons are no longer supported
final List<String> 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
// confusion
print(red(
'Duotone icons are no longer supported. Automatically disabled them.'));
}
hasDuotoneIcons = false;

final highestVersion = calculateFontAwesomeVersion(versions);

Expand Down

0 comments on commit b171266

Please sign in to comment.