diff --git a/.ci/scripts/plugin_tools_tests.sh b/.ci/scripts/plugin_tools_tests.sh index fa2e98342442..a7658d18e504 100755 --- a/.ci/scripts/plugin_tools_tests.sh +++ b/.ci/scripts/plugin_tools_tests.sh @@ -5,4 +5,4 @@ set -e cd script/tool -dart pub run test +dart test diff --git a/packages/go_router/doc/type-safe-routes.md b/packages/go_router/doc/type-safe-routes.md index 10d308ba0f7e..c958b6a1e29f 100644 --- a/packages/go_router/doc/type-safe-routes.md +++ b/packages/go_router/doc/type-safe-routes.md @@ -54,7 +54,7 @@ To build the generated files (ending in .g.dart), use the build_runner command: ``` flutter pub global activate build_runner -flutter pub run build_runner build +dart run build_runner build ``` To navigate, construct a GoRouteData object with the required parameters and diff --git a/packages/pigeon/diff_tool.sh b/packages/pigeon/diff_tool.sh index 398105c8dccd..815a160dd286 100755 --- a/packages/pigeon/diff_tool.sh +++ b/packages/pigeon/diff_tool.sh @@ -21,7 +21,7 @@ gitTool="git -c advice.detachedHead=false" generate_everything() { local inputPath=$1 local outputDir=$2 - pub run pigeon \ + dart run pigeon \ --input "$inputPath" \ --dart_out "$outputDir/dart.dart" \ --java_out "$outputDir/java.dart" \