diff --git a/tool/flutter_ci_script_shared.sh b/tool/flutter_ci_script_shared.sh index b38c0a3e9..1a451ee55 100644 --- a/tool/flutter_ci_script_shared.sh +++ b/tool/flutter_ci_script_shared.sh @@ -12,11 +12,7 @@ function ci_projects () { flutter pub get # Run the analyzer to find any static analysis issues. - if [ "$channel" == 'stable' ]; then - dart analyze --fatal-infos - else - dart analyze - fi + dart analyze --fatal-infos # Run the formatter on all the dart files to make sure everything's linted. dart format --output none --set-exit-if-changed .