Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmp authored and MarkOSullivan94 committed Aug 10, 2022
1 parent b8ad042 commit 226b3db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/abs/icon_generator.dart
Expand Up @@ -26,7 +26,7 @@ abstract class IconGenerator {
void createIcons();

/// Should return `true` if this platform
/// has all the requirments to create icons.
/// has all the requirements to create icons.
/// This runs before to [createIcons]
bool validateRequirements();
}
Expand Down Expand Up @@ -82,11 +82,11 @@ void generateIconsFor({

for (final platform in platformList) {
final progress = logger.progress('Creating Icons for ${platform.platformName}');
logger.verbose('Validating platform requirments for ${platform.platformName}');
logger.verbose('Validating platform requirements for ${platform.platformName}');
// in case a platform throws an exception it should not effect other platforms
try {
if (!platform.validateRequirements()) {
logger.error('Requirments failed for platform ${platform.platformName}. Skipped');
logger.error('Requirements failed for platform ${platform.platformName}. Skipped');
progress.cancel();
continue;
}
Expand Down

0 comments on commit 226b3db

Please sign in to comment.