Commit d089e77c authored by Luke081515's avatar Luke081515

Update javalint.sh to detect errors

* Searching for "error:"
parent da88d84b
Pipeline #1349 passed with stage
in 1 minute and 37 seconds
......@@ -24,8 +24,9 @@ while test $# -gt 0; do
done
done
if [ "$error" = true ] ; then
echo $RESULTS | grep -q "error:"
if [ $? -eq 0 ]
then
exit 1
else
exit 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment