[flutter_tools] Catch lack of flutter tools source missing (#93168)
This commit is contained in:
committed by
GitHub
parent
d21bb19708
commit
e8ec8a0dfb
@@ -1251,6 +1251,7 @@ abstract class FlutterCommand extends Command<void> {
|
||||
/// rather than calling [runCommand] directly.
|
||||
@mustCallSuper
|
||||
Future<FlutterCommandResult> verifyThenRunCommand(String? commandPath) async {
|
||||
globals.preRunValidator.validate();
|
||||
// Populate the cache. We call this before pub get below so that the
|
||||
// sky_engine package is available in the flutter cache for pub to find.
|
||||
if (shouldUpdateCache) {
|
||||
|
||||
Reference in New Issue
Block a user