fix(health): expecting nonexistent "inotifywait" function #33312

Problem:
55e4301036 changed the program name but not the function name.

Solution:
Fix the healthcheck.
This commit is contained in:
Felipe Lema authored and GitHub committed 2025-04-07 02:13:05 -07:00
1 parent 3ebde5ea14
commit bd37348939
1 file changed
+2 -2
+2 -2
View File
@@ -111,8 +111,8 @@ local function check_watcher()
watchfunc_name = 'libuv-watch'
elseif watchfunc == vim._watch.watchdirs then
watchfunc_name = 'libuv-watchdirs'
elseif watchfunc == vim._watch.inotifywait then
watchfunc_name = 'inotifywait'
elseif watchfunc == vim._watch.inotify then
watchfunc_name = 'inotify'
else
local nm = debug.getinfo(watchfunc, 'S').source
watchfunc_name = string.format('Custom (%s)', nm)