Skip to content

Commit 39b2943

Browse files
committed
Remove read-only status from globals in rockspec std
1 parent c35abfa commit 39b2943

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/luacheck/stds.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ stds.ngx_lua = {
5757
"setmetatable", "string", "table", "tonumber", "tostring", "type", "unpack", "xpcall"}
5858

5959
stds.rockspec = {
60-
"rockspec_format", "package", "version", "description", "supported_platforms",
61-
"dependencies", "external_dependencies", "source", "build"}
60+
rockspec_format = true, package = true, version = true, description = true, supported_platforms = true,
61+
dependencies = true, external_dependencies = true, source = true, build = true}
6262

6363
local min = {_G = true, package = true}
6464
local std_sets = {}

0 commit comments

Comments
 (0)