Closed Unigoge closed 4 years ago
I think it was caused by changing "penlight > 1.1, < 2.0" to "penlight ~> 1.0" in rockspec file
to reproduce:
local pretty = require "pl.pretty"
getfenv(0)
thx! fixed in https://github.com/Kong/lua-resty-dns-client/commit/63752d7128eee1e47708fb366d3cfe31887566c9
rock uploaded.
I think it was caused by changing "penlight > 1.1, < 2.0" to "penlight ~> 1.0" in rockspec file
to reproduce:
local pretty = require "pl.pretty"
anywhere in the source code - after thatgetfenv(0)
starts to return an empty table.