mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 09:44:31 +00:00 
			
		
		
		
	fix(health): expecting nonexistent "inotifywait" function #33312
Problem:55e4301036changed the program name but not the function name. Solution: Fix the healthcheck. (cherry picked from commitbd37348939)
This commit is contained in:
		
				
					committed by
					
						
						github-actions[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							2182272139
						
					
				
				
					commit
					c158d41cec
				
			@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user