diff --git a/dev/lint-scala b/dev/lint-scala index c3b19db243a8..d44eb02ef909 100755 --- a/dev/lint-scala +++ b/dev/lint-scala @@ -36,7 +36,7 @@ ERRORS=$(./build/mvn \ ) if test ! -z "$ERRORS"; then - echo -e "The scalafmt check failed on connector/connect at following occurrences:\n\n$ERRORS\n" + echo -e "The scalafmt check failed on connect or connector/connect at following occurrences:\n\n$ERRORS\n" echo "Before submitting your change, please make sure to format your code using the following command:" echo "./build/mvn scalafmt:format -Dscalafmt.skip=false -Dscalafmt.validateOnly=false -Dscalafmt.changedOnly=false -pl connect/common -pl connect/server -pl connector/connect/client/jvm" exit 1