sven-lange-last opened a new pull request #72: Improve pre-commit sample for 
openwhisk
URL: https://github.com/apache/openwhisk-utilities/pull/72
 
 
   The current code sample does not scan the full openwhisk directory but only 
starting from the current directory. In addition, no configuration file is 
specified.
   
   With this change, the pre-commit hook scans the full openwhisk directory and 
uses the scan configuration that is also used in the openwhisk Travis 
configuration.
   
   
https://github.com/apache/openwhisk/blob/06362ad83608335a01ccbb4ef449ec4c0e70dd99/tools/travis/scan.sh#L35-L37
   
   The openwhisk Travis script does not consider the repo's `.gitignore` file 
because it always runs on a fresh clone. A pre-commit hook runs on a working 
clone so that build directories specified in the `.gitignore` file must be 
excluded.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to