From 054360e2a4ea1f9167985d3df8db29b6af53c821 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Sat, 10 Jul 2021 07:33:22 +1000 Subject: [PATCH] flutter format -> dart format (#846) --- tool/flutter_ci_script_shared.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tool/flutter_ci_script_shared.sh b/tool/flutter_ci_script_shared.sh index e0b809a05..71a680842 100644 --- a/tool/flutter_ci_script_shared.sh +++ b/tool/flutter_ci_script_shared.sh @@ -1,14 +1,6 @@ function ci_projects () { local channel="$1" - # The `-n` option has been replaced with a more flexible `-o` for "output" - # in dev. - if [ $channel == "dev" ]; then - format_option="-o none" - else - format_option="-n" - fi - shift local arr=("$@") for PROJECT_NAME in "${arr[@]}" @@ -23,7 +15,7 @@ function ci_projects () { flutter analyze # Run the formatter on all the dart files to make sure everything's linted. - flutter format $format_option --set-exit-if-changed . + dart format --output none --set-exit-if-changed . # Run the actual tests. if [ -d "test" ]