add missing type parameter on methods (#22096)
This commit is contained in:
committed by
GitHub
parent
48fb726b01
commit
f62afdcf57
@@ -56,7 +56,7 @@ Future<Null> runCommand(String executable, List<String> arguments, {
|
||||
|
||||
Future<List<List<int>>> savedStdout, savedStderr;
|
||||
if (printOutput) {
|
||||
await Future.wait(<Future<void>>[
|
||||
await Future.wait<void>(<Future<void>>[
|
||||
stdout.addStream(process.stdout),
|
||||
stderr.addStream(process.stderr)
|
||||
]);
|
||||
@@ -75,8 +75,8 @@ Future<Null> runCommand(String executable, List<String> arguments, {
|
||||
print(failureMessage);
|
||||
}
|
||||
if (!printOutput) {
|
||||
stdout.writeln(utf8.decode((await savedStdout).expand((List<int> ints) => ints).toList()));
|
||||
stderr.writeln(utf8.decode((await savedStderr).expand((List<int> ints) => ints).toList()));
|
||||
stdout.writeln(utf8.decode((await savedStdout).expand<int>((List<int> ints) => ints).toList()));
|
||||
stderr.writeln(utf8.decode((await savedStderr).expand<int>((List<int> ints) => ints).toList()));
|
||||
}
|
||||
print(
|
||||
'$redLine\n'
|
||||
|
||||
Reference in New Issue
Block a user