File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [ -n "$KT_FILES" ]; then
10
10
echo " Running spotlessKotlinCheck..."
11
11
./gradlew spotlessKotlinCheck
12
12
if [ $? -ne 0 ]; then
13
- echo " ❌ Kotlin files need formatting. Please run './gradlew spotlessKotlinApply' and commit again."
13
+ echo " ❌ Kotlin files need formatting. Please run './gradlew spotlessKotlinApply' or 'make format' and commit again."
14
14
exit 1
15
15
fi
16
16
fi
@@ -19,7 +19,7 @@ if [ -n "$GRADLE_FILES" ]; then
19
19
echo " Running spotlessKotlinGradleCheck..."
20
20
./gradlew spotlessKotlinGradleCheck
21
21
if [ $? -ne 0 ]; then
22
- echo " ❌ Gradle files need formatting. Please run './gradlew spotlessKotlinGradleApply' and commit again."
22
+ echo " ❌ Gradle files need formatting. Please run './gradlew spotlessKotlinGradleApply' or 'make format' and commit again."
23
23
exit 1
24
24
fi
25
25
fi
@@ -28,7 +28,7 @@ if [ -n "$CPP_FILES" ]; then
28
28
echo " Running spotlessCppCheck..."
29
29
./gradlew spotlessCppCheck
30
30
if [ $? -ne 0 ]; then
31
- echo " ❌ C++ files need formatting. Please run './gradlew spotlessCppApply' and commit again."
31
+ echo " ❌ C++ files need formatting. Please run './gradlew spotlessCppApply' or 'make format' and commit again."
32
32
exit 1
33
33
fi
34
34
fi
You can’t perform that action at this time.
0 commit comments