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:
@@ -12,11 +12,7 @@ function ci_projects () {
|
|||||||
flutter pub get
|
flutter pub get
|
||||||
|
|
||||||
# Run the analyzer to find any static analysis issues.
|
# Run the analyzer to find any static analysis issues.
|
||||||
if [ "$channel" == 'stable' ]; then
|
dart analyze --fatal-infos
|
||||||
dart analyze --fatal-infos
|
|
||||||
else
|
|
||||||
dart analyze
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Run the formatter on all the dart files to make sure everything's linted.
|
# Run the formatter on all the dart files to make sure everything's linted.
|
||||||
dart format --output none --set-exit-if-changed .
|
dart format --output none --set-exit-if-changed .
|
||||||
|
|||||||
Reference in New Issue
Block a user