diff options
author | dundargoc <gocdundar@gmail.com> | 2024-05-25 20:35:37 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-05-27 20:48:46 +0200 |
commit | 6e8a728e3dad747d0c46dc47a530b76e8997bc08 (patch) | |
tree | 694dfdf6f734aed15c4944f8b0e8733abde802e4 /scripts/luacats_parser.lua | |
parent | f70af5c3cad098ee9c7f1956bc18991cbd515507 (diff) | |
download | rneovim-6e8a728e3dad747d0c46dc47a530b76e8997bc08.tar.gz rneovim-6e8a728e3dad747d0c46dc47a530b76e8997bc08.tar.bz2 rneovim-6e8a728e3dad747d0c46dc47a530b76e8997bc08.zip |
refactor: fix luals type warnings
Diffstat (limited to 'scripts/luacats_parser.lua')
-rw-r--r-- | scripts/luacats_parser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/luacats_parser.lua b/scripts/luacats_parser.lua index cb301b32e4..66fe8ed616 100644 --- a/scripts/luacats_parser.lua +++ b/scripts/luacats_parser.lua @@ -458,7 +458,7 @@ local function dump_uncommitted(filename, uncommitted) local out_path = 'luacats-uncommited/' .. filename:gsub('/', '%%') .. '.txt' if #uncommitted > 0 then print(string.format('Could not commit %d objects in %s', #uncommitted, filename)) - vim.fn.mkdir(assert(vim.fs.dirname(out_path)), 'p') + vim.fn.mkdir(vim.fs.dirname(out_path), 'p') local f = assert(io.open(out_path, 'w')) for i, x in ipairs(uncommitted) do f:write(i) |