Unverified Commit ef288c17 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] work around bug in plugins CI (#69971)

parent 16daed86
......@@ -220,7 +220,9 @@ class PackagesForwardCommand extends FlutterCommand {
@override
Future<FlutterCommandResult> runCommand() async {
await pub.interactively(<String>[_commandName, ...argResults.rest], stdio: globals.stdio);
final List<String> subArgs = argResults.rest.toList()
..removeWhere((String arg) => arg == '--');
await pub.interactively(<String>[_commandName, ...subArgs], stdio: globals.stdio);
return FlutterCommandResult.success();
}
}
......
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