Use flutter pub instead of dart pub (#99159)

This commit is contained in:
Jonah Williams
2022-02-25 11:31:23 -08:00
committed by GitHub
parent c7f07bbe65
commit 0a9a43b99a
2 changed files with 2 additions and 2 deletions

View File

@@ -1578,7 +1578,7 @@ Future<void> _checkConsumerDependencies() async {
// Parse the output of pub deps --json to determine all of the
// current packages used by the core set of flutter packages.
for (final String package in kCorePackages) {
final ProcessResult result = await Process.run(dart, <String>[
final ProcessResult result = await Process.run(flutter, <String>[
'pub',
'deps',
'--json',