Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: disable flutter analyze when push

appflowy8511829c4212
diff --git a/.githooks/pre-push b/.githooks/pre-push
index 7b6eeb8bc1..ee7c8cb79c 100755
--- a/.githooks/pre-push
+++ b/.githooks/pre-push
@@ -24,21 +24,13 @@ if [[ `git status --porcelain` ]]; then
exit 1
fi
-printMessage "Running the Flutter analyzer"
-flutter analyze
-
-if [ $? -ne 0 ]; then
- printError "Flutter analyzer error"
- exit 1
-fi
-
-printMessage "Finished running the Flutter analyzer"
-
-
-#printMessage "Running unit tests"
-#flutter test
+#
+#printMessage "Running the Flutter analyzer"
+#flutter analyze
+#
#if [ $? -ne 0 ]; then
-# printf "\e[31;1m%s\e[0m\n" 'Unit tests error'
+# printError "Flutter analyzer error"
# exit 1
#fi
-#printf "\e[33;1m%s\e[0m\n" 'Finished running unit tests'
+#
+#printMessage "Finished running the Flutter analyzer"