TOOLS/observe-all.lua: fix lint warning

This commit is contained in:
Guido Cella authored and Kacper Michajłow committed 2024-06-02 22:26:00 +02:00
1 parent 5977722adc
commit 1f356d6784
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -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",
+1 -1
View File
@@ -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) .. "'")