1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

[CI]: dart analyze --fatal-infos (#954)

This commit is contained in:
Brett Morgan
2021-12-01 13:10:44 +11:00
committed by GitHub
parent b229c5236f
commit bdf7ad36da
7 changed files with 16 additions and 9 deletions

View File

@@ -12,7 +12,11 @@ function ci_projects () {
flutter pub get
# Run the analyzer to find any static analysis issues.
dart analyze
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 .