update rockpsec (unbreak lint)

This commit is contained in:
leaf corcoran 2015-12-05 23:09:17 -08:00
parent 76af9964fe
commit 292337ee2b
3 changed files with 4 additions and 4 deletions

View File

@ -42,9 +42,13 @@ build = {
["moonscript.parse.literals"] = "moonscript/parse/literals.lua", ["moonscript.parse.literals"] = "moonscript/parse/literals.lua",
["moonscript.parse.util"] = "moonscript/parse/util.lua", ["moonscript.parse.util"] = "moonscript/parse/util.lua",
["moonscript.transform"] = "moonscript/transform.lua", ["moonscript.transform"] = "moonscript/transform.lua",
["moonscript.transform.accumulator"] = "moonscript/transform/accumulator.lua",
["moonscript.transform.destructure"] = "moonscript/transform/destructure.lua", ["moonscript.transform.destructure"] = "moonscript/transform/destructure.lua",
["moonscript.transform.names"] = "moonscript/transform/names.lua", ["moonscript.transform.names"] = "moonscript/transform/names.lua",
["moonscript.transform.statement"] = "moonscript/transform/statement.lua",
["moonscript.transform.statements"] = "moonscript/transform/statements.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.types"] = "moonscript/types.lua",
["moonscript.util"] = "moonscript/util.lua", ["moonscript.util"] = "moonscript/util.lua",
["moonscript.version"] = "moonscript/version.lua", ["moonscript.version"] = "moonscript/version.lua",

View File

@ -65,9 +65,6 @@ do
end end
end, end,
lint_check_unused = function(self) lint_check_unused = function(self)
do
return
end
if not (self.lint_unused_names and next(self.lint_unused_names)) then if not (self.lint_unused_names and next(self.lint_unused_names)) then
return return
end end

View File

@ -105,7 +105,6 @@ class LinterBlock extends Block
@parent\lint_mark_used name @parent\lint_mark_used name
lint_check_unused: => lint_check_unused: =>
do return
return unless @lint_unused_names and next @lint_unused_names return unless @lint_unused_names and next @lint_unused_names
names_by_position = {} names_by_position = {}