Skip to content

Commit adeb9e5

Browse files
committed
Use vim mkdir builtin
1 parent a1bc307 commit adeb9e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/cmake-tools/scanner.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function scanner.ensure_directory(path)
133133
local pattern = "(.*/)"
134134
local dir = path:match(pattern)
135135
if dir then
136-
os.execute('mkdir -p "' .. dir .. '"')
136+
vim.fn.mkdir(dir, "p")
137137
end
138138
end
139139

0 commit comments

Comments
 (0)