Skip to content

Commit

Permalink
nvim: mkdtemp needs 6 placeholders on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
chris468 committed Jun 23, 2024
1 parent ba61399 commit a054f5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ end

--- @return string|nil path, string|nil error
local function create_project()
local tmpdir, err_name, err_message = vim.loop.fs_mkdtemp("/tmp/luapad.XXXX")
local tmpdir, err_name, err_message = vim.loop.fs_mkdtemp("/tmp/luapad.XXXXXX")
if not tmpdir then
return nil, build_error("failed to create tempdir for luapad", err_name, err_message)
end
Expand Down

0 comments on commit a054f5a

Please sign in to comment.