From 3c93093cf5b3ad35469ebeac9edd0433b198b8e5 Mon Sep 17 00:00:00 2001 From: lopy <70210066+lopi-py@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:32:16 -0500 Subject: [PATCH] test: create intermediate directories for storage --- lua/luau-lsp/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/luau-lsp/util.lua b/lua/luau-lsp/util.lua index 0e6d6f4..87e063d 100644 --- a/lua/luau-lsp/util.lua +++ b/lua/luau-lsp/util.lua @@ -25,7 +25,7 @@ end function M.storage_file(key) local path = M.joinpath(vim.fn.stdpath "data", "luau-lsp") if not M.is_dir(path) then - vim.uv.fs_mkdir(path, 448) + vim.fn.mkdir(path, "p") end return M.joinpath(path, key) end