Unverified Commit 8c02c300 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] always run pub with prebuilt applicaitons on drive (#70136)

parent 31c0291a
...@@ -131,6 +131,11 @@ class DriveCommand extends RunCommandBase { ...@@ -131,6 +131,11 @@ class DriveCommand extends RunCommandBase {
'Dart VM running The test script.'); 'Dart VM running The test script.');
} }
// `pub` must always be run due to the test script running from source,
// even if an application binary is used.
@override
bool get shouldRunPub => true;
FlutterDriverFactory _flutterDriverFactory; FlutterDriverFactory _flutterDriverFactory;
final FileSystem _fileSystem; final FileSystem _fileSystem;
final Logger _logger; final Logger _logger;
......
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