Open ktalebian opened 5 years ago
Yes, we are aware. But this is kept around for backwards compatibility. A gazillion scripts out there depend on lfs
and assume that it sets the global so we can't remove it. When we release LuaFileSystem 2.0 (no ETA at this point), we will remove the global.
This library is using a global variable declaration, which is discouraged. I'm using the
penlight
library which uses this as a dependency, and this is polluting logs withMore information can be found on https://github.com/openresty/lua-nginx-module/issues/1558