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

This commit is contained in:
Jonah Williams 2020-11-09 14:55:04 -08:00 committed by GitHub
parent 31c0291af4
commit 8c02c300d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;