Skip to content

Commit

Permalink
Reduce line length
Browse files Browse the repository at this point in the history
Seems linting warning are errors in the ci
```
apisix/core/ctx.lua:278:101: line is too long (115 > 100)
```
  • Loading branch information
boekkooi-lengoo committed Jan 10, 2024
1 parent f3b659d commit 935a300
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apisix/core/ctx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ do
end

elseif core_str.has_prefix(key, "uri_param_") then
-- `uri_param_<name>` provides access to the uri parameters when using radixtree_uri_with_parameter
-- `uri_param_<name>` provides access to the uri parameters when using
-- radixtree_uri_with_parameter
if t._ctx.curr_req_matched then
local arg_key = sub_str(key, 11)
val = t._ctx.curr_req_matched[arg_key]
Expand Down

0 comments on commit 935a300

Please sign in to comment.