From 5c063d2a9e47136f21ace74ccca081da566bddfc Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Wed, 5 Jan 2022 17:45:06 +1100 Subject: [PATCH] Analyze with fatal infos on both `stable` and `beta` (#962) --- tool/flutter_ci_script_shared.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 .