mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 21:06:46 +00:00
test(lockfile): create config dir if it does not exist
This commit is contained in:
parent
4cf176bdab
commit
dc150df456
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ M.lock = {}
|
|||
M._loaded = false
|
||||
|
||||
function M.update()
|
||||
vim.fn.mkdir(vim.fn.fnamemodify(Config.options.lockfile, ":p:h"), "p")
|
||||
local f = assert(io.open(Config.options.lockfile, "w"))
|
||||
f:write("{\n")
|
||||
M.lock = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue