[flutter_tools] Catch lack of flutter tools source missing (#93168)

This commit is contained in:
Christopher Fujino
2021-11-12 14:43:52 -08:00
committed by GitHub
parent d21bb19708
commit e8ec8a0dfb
8 changed files with 148 additions and 8 deletions

View File

@@ -54,6 +54,7 @@ import 'src/globals.dart' as globals;
// Files in `isolated` are intentionally excluded from google3 tooling.
import 'src/isolated/mustache_template.dart';
import 'src/isolated/resident_web_runner.dart';
import 'src/pre_run_validator.dart';
import 'src/resident_runner.dart';
import 'src/runner/flutter_command.dart';
import 'src/web/web_runner.dart';
@@ -126,6 +127,7 @@ Future<void> main(List<String> args) async {
windows: globals.platform.isWindows,
);
},
PreRunValidator: () => PreRunValidator(fileSystem: globals.fs),
},
);
}