mirror of
https://github.com/neovim/neovim.git
synced 2026-10-25 15:10:20 -05:00
fix(health): powershell "echo" fails without an arg #41477
This commit is contained in:
1 parent
0346958153
commit
bb9a5087b8
1 file changed
+1
-1
@@ -286,7 +286,7 @@ local function check_performance()
|
||||
local slow_cmd_time = 1.5e9
|
||||
local start_time = vim.uv.hrtime()
|
||||
-- Vimscript's system() is used to actually invoke a shell
|
||||
vim.fn.system('echo')
|
||||
vim.fn.system('echo 1')
|
||||
local elapsed_time = vim.uv.hrtime() - start_time
|
||||
if elapsed_time > slow_cmd_time then
|
||||
health.warn(
|
||||
|
||||
Reference in new issue
Block a user