This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 794393c chore: exclude ngx_tpl.lua from the style check (#2630)
794393c is described below
commit 794393c3ae38e058d4e73c765c2246f78e9b3065
Author: 罗泽轩 <[email protected]>
AuthorDate: Thu Nov 5 11:59:37 2020 +0800
chore: exclude ngx_tpl.lua from the style check (#2630)
---
utils/check-lua-code-style.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/check-lua-code-style.sh b/utils/check-lua-code-style.sh
index 2dfff59..2723256 100755
--- a/utils/check-lua-code-style.sh
+++ b/utils/check-lua-code-style.sh
@@ -21,7 +21,7 @@ set -ex
luacheck -q apisix t/lib
-find apisix -name '*.lua' -exec ./utils/lj-releng {} + > \
+find apisix -name '*.lua' ! -wholename 'apisix/cli/ngx_tpl.lua' -exec
./utils/lj-releng {} + > \
/tmp/check.log 2>&1 || (cat /tmp/check.log && exit 1)
grep -E "ERROR.*.lua:" /tmp/check.log > /tmp/error.log | true