Unverified Commit e8095116 authored by Yegor's avatar Yegor Committed by GitHub

remove dependency on package:quiver/iterables.dart (#13281)

parent 920a7260
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
import 'dart:async'; import 'dart:async';
import 'dart:convert' show UTF8; import 'dart:convert' show UTF8;
import 'package:quiver/iterables.dart';
import 'package:quiver/strings.dart'; import 'package:quiver/strings.dart';
import '../application_package.dart'; import '../application_package.dart';
...@@ -199,7 +198,7 @@ Future<String> _chooseSigningIdentity(List<String> validCodeSigningIdentities, b ...@@ -199,7 +198,7 @@ Future<String> _chooseSigningIdentity(List<String> validCodeSigningIdentities, b
printStatus(' a) Abort', emphasis: true); printStatus(' a) Abort', emphasis: true);
final String choice = await terminal.promptForCharInput( final String choice = await terminal.promptForCharInput(
range(1, count + 1).map((num number) => '$number').toList() new List<String>.generate(count, (int number) => '${number + 1}')
..add('a'), ..add('a'),
prompt: 'Please select a certificate for code signing', prompt: 'Please select a certificate for code signing',
displayAcceptedCharacters: true, displayAcceptedCharacters: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment