slawekjaranowski commented on code in PR #79:
URL: https://github.com/apache/maven-wrapper/pull/79#discussion_r1063447254


##########
.github/workflows/shellcheck-posix.yml:
##########
@@ -27,7 +27,7 @@ jobs:
     runs-on: ubuntu-latest
     env:
       SHELLCHECK_VERSION: '0.9.0'
-      SHELLCHECK_OPTS: '-e SC2009'
+      SHELLCHECK_OPTS: '-e SC1091 -e SC2009'

Review Comment:
   I would like to add description what this numbers means - what rule is 
exclude



##########
.github/workflows/shellcheck-posix.yml:
##########
@@ -39,7 +39,7 @@ jobs:
       - name: check
         run: |
           echo "$GITHUB_WORKSPACE/shellcheck-v${SHELLCHECK_VERSION}" >> 
$GITHUB_PATH
-          readarray -t SCRIPT_FILES < <(grep -ErIl 
'^#![[:blank:]]*/bin/(ba|da|c|k)?sh' 
"$GITHUB_WORKSPACE/maven-wrapper-distribution/src/resources")
+          readarray -t SCRIPT_FILES < <(grep -ErIl -e 
'^#![[:blank:]]*/bin/(ba|da|c|k)?sh' -e 
'^#!/usr/bin/env[[:blank:]]+(ba|da|c|k)?sh' 
"$GITHUB_WORKSPACE/maven-wrapper-distribution/src/resources")

Review Comment:
   should it also match `zsh`?



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to