Skip to content

Commit b46a48f

Browse files
thibaultchaagentzh
authored andcommitted
luacheck: added 'coroutine._yield' to read-only globals.
This fixes builds with Luacheck 0.19.0+. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
1 parent 729e186 commit b46a48f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.luacheckrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
std = 'ngx_lua'
22
unused_args = false
3+
read_globals = {
4+
"coroutine._yield"
5+
}

0 commit comments

Comments
 (0)