Skip to content

Commit

Permalink
test: create intermediate directories for storage
Browse files Browse the repository at this point in the history
  • Loading branch information
lopi-py committed Aug 30, 2024
1 parent b9ea154 commit 3c93093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/luau-lsp/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c93093

Please sign in to comment.