Skip to content

Commit

Permalink
Remove read-only status from globals in rockspec std
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Dec 7, 2016
1 parent c35abfa commit 39b2943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/luacheck/stds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ stds.ngx_lua = {
"setmetatable", "string", "table", "tonumber", "tostring", "type", "unpack", "xpcall"}

stds.rockspec = {
"rockspec_format", "package", "version", "description", "supported_platforms",
"dependencies", "external_dependencies", "source", "build"}
rockspec_format = true, package = true, version = true, description = true, supported_platforms = true,
dependencies = true, external_dependencies = true, source = true, build = true}

local min = {_G = true, package = true}
local std_sets = {}
Expand Down

0 comments on commit 39b2943

Please sign in to comment.