From 7e5a460dde989c13ab9696001174057441afe71f Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Tue, 26 Oct 2021 19:03:17 +0200 Subject: [PATCH] fix: Analyze format and imports before patching --- scripts/code_analyze.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/code_analyze.sh b/scripts/code_analyze.sh index ec6ced93..fe75018d 100755 --- a/scripts/code_analyze.sh +++ b/scripts/code_analyze.sh @@ -1,6 +1,6 @@ #!/bin/sh -ve -git apply ./scripts/enable-android-google-services.patch -flutter format lib/ test/ --set-exit-if-changed flutter pub run import_sorter:main --no-comments --exit-if-changed +flutter format lib/ test/ --set-exit-if-changed +git apply ./scripts/enable-android-google-services.patch flutter analyze flutter pub run dart_code_metrics:metrics lib -r gitlab > code-quality-report.json || true \ No newline at end of file