This is an automated email from the ASF dual-hosted git repository.

style95 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-release.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ff98d7  add application/javascript to the allowable mime types for 
files (#397)
5ff98d7 is described below

commit 5ff98d71e2286718c57d24e2d956f428c4c9944f
Author: David Grove <[email protected]>
AuthorDate: Wed Aug 11 20:33:06 2021 -0400

    add application/javascript to the allowable mime types for files (#397)
---
 tools/rcverify.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/rcverify.sh b/tools/rcverify.sh
index 1b08d14..0139996 100755
--- a/tools/rcverify.sh
+++ b/tools/rcverify.sh
@@ -300,7 +300,7 @@ EXE=$(find "$DIR/$BASE" -type f ! -name "*.sh" ! -name 
"*.sh" ! -name "*.py" ! -
 validate "$EXE" "" "$EXE"
 
 printf "scanning for unexpected file types..."
-EXE=$(find "$DIR/$BASE" -type f -and -not -empty -exec file --mime {} \; | 
grep -v ": text/" | grep -v ": image/" | grep -v ": application/json")
+EXE=$(find "$DIR/$BASE" -type f -and -not -empty -exec file --mime {} \; | 
grep -v ": text/" | grep -v ": image/" | grep -v ": application/json" | grep -v 
": application/javascript")
 validate "$EXE" "" "$EXE"
 
 printf "scanning for archives..."

Reply via email to