Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkOSullivan94 committed Jul 26, 2022
1 parent 6329b7a commit 4eb502d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ Future<void> createIconsFromArguments(List<String> arguments) async {
// creating logger based on -v flag
final logger = FLILogger(argResults[verboseFlag]);

logger.verbose('Recieved args ${argResults.arguments}');
logger.verbose('Received args ${argResults.arguments}');

if (argResults[helpFlag]) {
stdout.writeln('Generates icons for iOS and Android');
stdout.writeln(parser.usage);
exit(0);
}

// Flavors manangement
// Flavors management
final flavors = getFlavors();
final hasFlavors = flavors.isNotEmpty;

Expand Down
2 changes: 1 addition & 1 deletion test/abs/icon_generator_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void main() {
verifyNever(mockGenerator.createIcons());
});

test('should skip platform if any exception occured', () {
test('should skip platform if any exception occurred', () {
when(mockGenerator.validateRequirements()).thenReturn(true);
when(mockGenerator.createIcons()).thenThrow(Exception('should-skip-platform'));
generateIconsFor(
Expand Down

0 comments on commit 4eb502d

Please sign in to comment.