mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-29 16:05:47 +08:00
PR nits
This commit is contained in:
@ -16,8 +16,7 @@ for f in doc/examples/**/pubspec.yaml; do
|
|||||||
cd - > /dev/null
|
cd - > /dev/null
|
||||||
done
|
done
|
||||||
|
|
||||||
analyzer() {
|
cd .
|
||||||
cd $1
|
|
||||||
flutter pub get
|
flutter pub get
|
||||||
result=$(flutter analyze .)
|
result=$(flutter analyze .)
|
||||||
if ! echo "$result" | grep -q "No issues found!"; then
|
if ! echo "$result" | grep -q "No issues found!"; then
|
||||||
@ -25,10 +24,6 @@ analyzer() {
|
|||||||
echo "flutter analyze issue: $1"
|
echo "flutter analyze issue: $1"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cd - > /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
analyzer .
|
|
||||||
|
|
||||||
echo "success"
|
echo "success"
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user