Yiyiyimu opened a new issue #2172: URL: https://github.com/apache/apisix/issues/2172
### Issue description Currently check-plugins-code.sh use `sh` rather than `bash` so it would output errors as following. ### What's the actual result? ``` + sudo sh ./utils/check-plugins-code.sh apisix/plugins/authz-keycloak.lua ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found passed. ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found passed. apisix/plugins/basic-auth.lua ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found passed. ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found passed. ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found apisix/plugins/batch-requests.lua ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found passed. ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found passed. ... ``` ### What's the expected result? ``` all passed ``` ---------------------------------------------------------------- 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