From 474bb5c594a0681b3f725780122e40e33be81f0f Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Tue, 26 Oct 2021 20:13:06 +0200 Subject: [PATCH] fix: Run flutter pub get in analyze --- scripts/code_analyze.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/code_analyze.sh b/scripts/code_analyze.sh index fe75018d..c0249a7c 100755 --- a/scripts/code_analyze.sh +++ b/scripts/code_analyze.sh @@ -1,6 +1,8 @@ #!/bin/sh -ve +flutter pub get 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 pub get flutter analyze flutter pub run dart_code_metrics:metrics lib -r gitlab > code-quality-report.json || true \ No newline at end of file