Remove workaround for SIGINT (#8834)

It's no longer needed with the latest Dart SDK roll.
This commit is contained in:
Michael Goderbauer
2017-03-16 15:10:20 -07:00
committed by GitHub
parent 2bbe82ef30
commit 0550c2f021
2 changed files with 1 additions and 35 deletions

View File

@@ -58,7 +58,6 @@ import 'src/usage.dart';
///
/// This function is intended to be used from the `flutter` command line tool.
Future<Null> main(List<String> args) async {
SigintProcessSignal.instance.init();
final bool verbose = args.contains('-v') || args.contains('--verbose');
final bool help = args.contains('-h') || args.contains('--help') ||
(args.isNotEmpty && args.first == 'help') || (args.length == 1 && verbose);