From 3f99c8d19298dff6fdbfdbbf6ff49d2fe8b77835 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 10 Jun 2025 15:51:23 -0700 Subject: [PATCH] Use "flutter pub get" to resolve packages when building the docs snippets tool (#170381) "flutter pub get" should be used instead of "dart pub get" for packages within the Flutter pub workspace. This was causing issues for some runs of the docs_test builder on CI. (example: https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20docs_test/68448/overview) --- dev/bots/docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/bots/docs.sh b/dev/bots/docs.sh index 814164af5f7..c69b34b7d70 100755 --- a/dev/bots/docs.sh +++ b/dev/bots/docs.sh @@ -113,7 +113,7 @@ function build_snippets_tool() ( echo "Building snippets tool executable." command cd "$snippets_dir" mkdir -p "$output_dir" - dart pub get + "$FLUTTER" pub get dart compile exe -o "$output_dir/snippets" bin/snippets.dart )