HDDS-1167. Error in hadoop-ozone/dev-support/checks/checkstyle.sh.
Contributed by Nandakumar.
This commit is contained in:
parent
014e17af78
commit
fb546d1807
|
@ -15,7 +15,7 @@
|
|||
# limitations under the License.
|
||||
mvn -fn checkstyle:check -am -pl :hadoop-ozone-dist -Phdds
|
||||
|
||||
violations=$(grep -r error --include checkstyle-errors.xml | wc -l)
|
||||
violations=$(grep -r error --include checkstyle-errors.xml .| wc -l)
|
||||
if [[ $violations -gt 0 ]]; then
|
||||
echo "There are $violations checkstyle violations"
|
||||
exit -1
|
||||
|
|
Loading…
Reference in New Issue