Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Oct 14, 2024
1 parent 8a50761 commit cef3c34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/build_menu_flutter/lib/src/app_build_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void menuFlutterAppContent(
if (!supported) {
write('flutter not supported');
var response = await prompt('Continue Y/N');
if (response?.toLowerCase() == 'y') {
if (response.toLowerCase() == 'y') {
return true;
}
}
Expand Down Expand Up @@ -270,8 +270,8 @@ void menuFlutterAppContent(
});
item('prompt', () async {
var command = await prompt('Enter command');
if (command?.isNotEmpty ?? false) {
await appShell.run(command!);
if (command.isNotEmpty) {
await appShell.run(command);
}
});
}

0 comments on commit cef3c34

Please sign in to comment.