From 89b8639bc483704a1cb8c4239aeaa9589f28daff Mon Sep 17 00:00:00 2001 From: chronolaw Date: Sat, 14 Oct 2023 16:31:05 +0800 Subject: [PATCH] code clean --- kong/tools/yield.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/tools/yield.lua b/kong/tools/yield.lua index c1cfef222b0..d21187dc9fe 100644 --- a/kong/tools/yield.lua +++ b/kong/tools/yield.lua @@ -24,7 +24,7 @@ do } in_yieldable_phase = function(phase) - return LUA_CONTEXT_YIELDABLE_PHASE[phase or get_phase()] ~= nil + return LUA_CONTEXT_YIELDABLE_PHASE[phase or get_phase()] end end _M.in_yieldable_phase = in_yieldable_phase