mirror of
https://github.com/leafo/moonscript.git
synced 2025-01-09 00:04:22 +00:00
update rockpsec (unbreak lint)
This commit is contained in:
parent
76af9964fe
commit
292337ee2b
@ -42,9 +42,13 @@ build = {
|
||||
["moonscript.parse.literals"] = "moonscript/parse/literals.lua",
|
||||
["moonscript.parse.util"] = "moonscript/parse/util.lua",
|
||||
["moonscript.transform"] = "moonscript/transform.lua",
|
||||
["moonscript.transform.accumulator"] = "moonscript/transform/accumulator.lua",
|
||||
["moonscript.transform.destructure"] = "moonscript/transform/destructure.lua",
|
||||
["moonscript.transform.names"] = "moonscript/transform/names.lua",
|
||||
["moonscript.transform.statement"] = "moonscript/transform/statement.lua",
|
||||
["moonscript.transform.statements"] = "moonscript/transform/statements.lua",
|
||||
["moonscript.transform.transformer"] = "moonscript/transform/transformer.lua",
|
||||
["moonscript.transform.value"] = "moonscript/transform/value.lua",
|
||||
["moonscript.types"] = "moonscript/types.lua",
|
||||
["moonscript.util"] = "moonscript/util.lua",
|
||||
["moonscript.version"] = "moonscript/version.lua",
|
||||
|
@ -65,9 +65,6 @@ do
|
||||
end
|
||||
end,
|
||||
lint_check_unused = function(self)
|
||||
do
|
||||
return
|
||||
end
|
||||
if not (self.lint_unused_names and next(self.lint_unused_names)) then
|
||||
return
|
||||
end
|
||||
|
@ -105,7 +105,6 @@ class LinterBlock extends Block
|
||||
@parent\lint_mark_used name
|
||||
|
||||
lint_check_unused: =>
|
||||
do return
|
||||
return unless @lint_unused_names and next @lint_unused_names
|
||||
|
||||
names_by_position = {}
|
||||
|
Loading…
Reference in New Issue
Block a user