1
0
mirror of https://github.com/flutter/samples.git synced 2026-06-11 00:38:39 +00:00

Replace pub run usages with dart run (#2777)

Following up on https://github.com/dart-lang/pub/issues/4737, this PR
replaces deprecated `pub run` commands with `dart run`.
This commit is contained in:
Sigurd Meldgaard
2026-01-27 06:27:50 +01:00
committed by GitHub
parent 45e22460bf
commit 69092486bb
7 changed files with 8 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ Future<void> generateJsonBindings() async => _logProcessOutput(
@Task()
Future<void> watch() async => _logProcessOutput(
Process.start('flutter', ['pub', 'run', 'build_runner', 'watch']),
Process.start('dart', ['run', 'build_runner', 'watch']),
);
@Task()