mirror of
https://github.com/neovim/neovim.git
synced 2026-05-02 20:15:03 +00:00
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:
@@ -111,8 +111,8 @@ local function check_watcher()
|
|||||||
watchfunc_name = 'libuv-watch'
|
watchfunc_name = 'libuv-watch'
|
||||||
elseif watchfunc == vim._watch.watchdirs then
|
elseif watchfunc == vim._watch.watchdirs then
|
||||||
watchfunc_name = 'libuv-watchdirs'
|
watchfunc_name = 'libuv-watchdirs'
|
||||||
elseif watchfunc == vim._watch.inotifywait then
|
elseif watchfunc == vim._watch.inotify then
|
||||||
watchfunc_name = 'inotifywait'
|
watchfunc_name = 'inotify'
|
||||||
else
|
else
|
||||||
local nm = debug.getinfo(watchfunc, 'S').source
|
local nm = debug.getinfo(watchfunc, 'S').source
|
||||||
watchfunc_name = string.format('Custom (%s)', nm)
|
watchfunc_name = string.format('Custom (%s)', nm)
|
||||||
|
|||||||
Reference in New Issue
Block a user