Fix pub upgrade to work with new arguments (#74060)
This commit is contained in:
committed by
GitHub
parent
97e82d791b
commit
bf89943d94
@@ -36,7 +36,13 @@ class ThrowingPub implements Pub {
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> interactively(List<String> arguments, {String directory, @required Stdio stdio,}) {
|
||||
Future<void> interactively(
|
||||
List<String> arguments, {
|
||||
String directory,
|
||||
@required Stdio stdio,
|
||||
bool touchesPackageConfig = false,
|
||||
bool generateSyntheticPackage = false,
|
||||
}) {
|
||||
throw UnsupportedError('Attempted to invoke pub during test.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user