Commit Graph

9 Commits

Author SHA1 Message Date
罗泽轩
cdb5aaf3d7
ci: lint test file (#3298)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 10:27:28 +08:00
罗泽轩
794393c3ae
chore: exclude ngx_tpl.lua from the style check (#2630) 2020-11-05 11:59:37 +08:00
罗泽轩
8493a607ce
test: also lint the test helpers (#2252)
Close #2215
2020-09-19 19:07:39 +08:00
罗泽轩
06acbe9047
test: check lua code style in all Lua file under apisix/ (#1518) 2020-04-28 15:53:04 +08:00
Wen Ming
c76e7e3623
feature: remove lua dir. (#1351) 2020-03-31 23:23:29 +08:00
YuanSheng Wang
51684de77b
bugfix: fail to get the http request header by ngx.var. * (#1348)
* bugfix: to get the HTTP request header by `ngx.var.*`, we need to convert
  the name to lower case with dashes replaced by underscores.

more information:

http://nginx.org/en/docs/http/ngx_http_core_module.html#var_http_

* change: the key should be a string object when fetching a value from `ctx.var`.

* bug(make lint): If the code style is bad, do exit with code 1.
2020-03-27 23:13:46 +08:00
YuanSheng Wang
94cc688fc1
bugfix: installed lua file in folder lua/apisix/utils . (#1342) 2020-03-27 07:34:08 +08:00
YuanSheng Wang
2870b79833
bugfix: missing clear table before to reuse table. (#1134)
* test: avoid to use regex for matching output.
2020-02-18 21:46:56 +08:00
YuanSheng Wang
6d8907f4ff
code style: use new lj-releng to catch all exceptions. (#1135) 2020-02-18 15:54:30 +08:00