1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Analyze with fatal infos on both stable and beta (#962)

This commit is contained in:
Brett Morgan
2022-01-05 17:45:06 +11:00
committed by GitHub
parent 9102cb4653
commit 5c063d2a9e

View File

@@ -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
# Run the formatter on all the dart files to make sure everything's linted.
dart format --output none --set-exit-if-changed .