From cdcd5c2d5ebb8295d5bfe2b245e4f9e7fe070dd9 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 19 Apr 2024 10:02:39 +0200 Subject: [PATCH] Remove empty line and ensure check.sh script run ktlint. --- .../features/roomlist/impl/search/RoomListSearchViewTest.kt | 1 - tools/quality/check.sh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/features/roomlist/impl/src/test/kotlin/io/element/android/features/roomlist/impl/search/RoomListSearchViewTest.kt b/features/roomlist/impl/src/test/kotlin/io/element/android/features/roomlist/impl/search/RoomListSearchViewTest.kt index 0c437f8553..b3f0755f11 100644 --- a/features/roomlist/impl/src/test/kotlin/io/element/android/features/roomlist/impl/search/RoomListSearchViewTest.kt +++ b/features/roomlist/impl/src/test/kotlin/io/element/android/features/roomlist/impl/search/RoomListSearchViewTest.kt @@ -69,4 +69,3 @@ private fun AndroidComposeTestRule.setRoomL ) } } - diff --git a/tools/quality/check.sh b/tools/quality/check.sh index c3f87b3018..be323f6884 100755 --- a/tools/quality/check.sh +++ b/tools/quality/check.sh @@ -25,6 +25,9 @@ set -e # First run the quickest script ./tools/check/check_code_quality.sh +# Check ktlint first +./gradlew ktlintCheck + # Build, test and check the project, with warning as errors # It also check that the minimal app is compiling. ./gradlew check -PallWarningsAsErrors=true