fix(ci): lint

This commit is contained in:
Barrett Ruth 2025-09-23 12:28:53 -04:00
parent 1f517309f2
commit f3666a30be

View file

@ -99,8 +99,8 @@ function M.save()
local encoded = vim.json.encode(cache_data)
local lines = vim.split(encoded, '\n')
ok, err = pcall(vim.fn.writefile, lines, cache_file)
if not ok then
local write_ok, _ = pcall(vim.fn.writefile, lines, cache_file)
if not write_ok then
vim.schedule(function()
vim.fn.writefile(lines, cache_file)
end)