You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/05 08:41:10 UTC

[GitHub] [apisix] Yiyiyimu commented on pull request #2173: optimize output of check-plugins-code

Yiyiyimu commented on pull request #2173:
URL: https://github.com/apache/apisix/pull/2173#issuecomment-687573035


   ### Original output
   Success
   ```bash
   + 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
   ...
   ```
   Failure
   ```bash
   apisix/plugins/uri-blocker.lua
   can't exit in rewrite or access phase !
   ```
   
   ### New output
   Success
   ```bash
   All passed.
   ```
   Failure
   ```bash
   [RED]apisix/plugins/uri-blocker.lua
       can't exit in rewrite or access phase!
   ```


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