jiangpengcheng commented on a change in pull request #5036:
URL: https://github.com/apache/openwhisk/pull/5036#discussion_r553784009
##########
File path: tools/travis/scan.sh
##########
@@ -41,7 +41,7 @@ cd $ROOTDIR
TERM=dumb ./gradlew checkScalafmtAll
# lint tests to all be actually runnable
-MISSING_TESTS=$(grep -rL "RunWith" --include="*Tests.scala" tests)
+MISSING_TESTS=$(grep -rL "RunWith" --include="*Tests.scala" tests || true)
Review comment:
seems ubuntu 20.04 will return an error for this command if `grep`
matched nothing
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]