diff --git a/.luacheckrc b/.luacheckrc index 6ffa0dca0b..defbe2519b 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -110,7 +110,6 @@ max_line_length = 100 -- TODO: Remove everything below this line local todo = { "player/lua/osc.lua", - "TOOLS/lua/observe-all.lua", "TOOLS/lua/osd-test.lua", "TOOLS/lua/status-line.lua", "TOOLS/lua/test-hooks.lua", diff --git a/TOOLS/lua/observe-all.lua b/TOOLS/lua/observe-all.lua index 9d75692092..6a209cd68d 100644 --- a/TOOLS/lua/observe-all.lua +++ b/TOOLS/lua/observe-all.lua @@ -6,7 +6,7 @@ local utils = require("mp.utils") -function observe(name) +local function observe(name) mp.observe_property(name, "native", function(prop, val) print("property '" .. prop .. "' changed to '" .. utils.to_string(val) .. "'")