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

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

Solution:
Fix the healthcheck.

(cherry picked from commit bd37348939)
This commit is contained in:
Felipe Lema
2025-04-07 05:13:05 -04:00
committed by github-actions[bot]
parent 2182272139
commit c158d41cec

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)