diff options
Diffstat (limited to 'dev/scalastyle')
-rwxr-xr-x | dev/scalastyle | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/scalastyle b/dev/scalastyle index 5a18f4d672..19955b9aaa 100755 --- a/dev/scalastyle +++ b/dev/scalastyle @@ -17,8 +17,8 @@ # limitations under the License. # -sbt/sbt clean scalastyle > scalastyle.txt -ERRORS=$(cat scalastyle.txt | grep -e "error file") +echo -e "q\n" | sbt/sbt clean scalastyle > scalastyle.txt +ERRORS=$(cat scalastyle.txt | grep -e "\<error\>") if test ! -z "$ERRORS"; then echo -e "Scalastyle checks failed at following occurrences:\n$ERRORS" exit 1 |