You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/27 16:50:19 UTC

[GitHub] pritidesai commented on a change in pull request #278: Update Travis to use Scandcode with the ASF Release configuration.

pritidesai commented on a change in pull request #278: Update Travis to use Scandcode with the ASF Release configuration.
URL: https://github.com/apache/incubator-openwhisk-cli/pull/278#discussion_r184744550
 
 

 ##########
 File path: tools/travis/test_openwhisk.sh
 ##########
 @@ -41,9 +41,17 @@ OPENWHISK_HOME="$( cd "${OPENWHISK_HOME:-$HOMEDIR/incubator-openwhisk}" && pwd )
 export OPENWHISK_HOME
 
 #
-#  Perform code validation using scanCode and Golint
+#  Run scancode using the ASF Release configuration
 #
-../incubator-openwhisk-utilities/scancode/scanCode.py $TRAVIS_BUILD_DIR
+UTILDIR="$( cd "${UTILDIR:-$HOMEDIR/incubator-openwhisk-utilities}" && pwd )"
 
 Review comment:
   @mrutkows a quick question, `UTILDIR` on right side of expression is not initialized anywhere in this file, is it a typo?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services