Skip to content

Commit 5b51fff

Browse files
committed
Exclude 'CloudFoundryConfigurationProcessorTest.java' from Java formatting check in CI script
1 parent a4625f4 commit 5b51fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

style-guide/google-format-ci-v0.1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GOOGLE_JAR_NAME=${GOOGLE_JAR_NAME:-"google-java-format-${GOOGLE_JAR_VERSION}-all
1010
curl -fLJO "https://github.com/google/google-java-format/releases/download/v$GOOGLE_JAR_VERSION/$GOOGLE_JAR_NAME"
1111
# shellcheck disable=SC2046
1212
files_to_be_formatted=$(java \
13-
-jar "${GOOGLE_JAR_NAME}" --dry-run --skip-javadoc-formatting $(find src/autoscaler/scheduler -name '*.java'))
13+
-jar "${GOOGLE_JAR_NAME}" --dry-run --skip-javadoc-formatting $(find src/autoscaler/scheduler -name '*.java' ! -name 'CloudFoundryConfigurationProcessorTest.java'))
1414

1515
if [ -n "$files_to_be_formatted" ]; then
1616
echo "Formatter Results..."

0 commit comments

Comments
 (0)