diff options
| author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2026-04-14 15:22:11 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-14 08:22:11 -0400 |
| commit | b8a24bfadf5c70bc2169bbc309999df6a0fea87a (patch) | |
| tree | e8fb03aec061ab383446f2f6165e9e19e2dec4ac /scripts/lintcommit.lua | |
| parent | f0f9620b38e123b3bae419f637612031a89305f8 (diff) | |
| download | rneovim-b8a24bfadf5c70bc2169bbc309999df6a0fea87a.tar.gz rneovim-b8a24bfadf5c70bc2169bbc309999df6a0fea87a.tar.bz2 rneovim-b8a24bfadf5c70bc2169bbc309999df6a0fea87a.zip | |
test(pack): use n.rmdir() to delete directories #39046
Problem: using `vim.fs.rm(dir_path, { force = true, recursive = true })`
can result in an error on Windows if the process has a handle to it.
Solution: Use `n.rmdir()` helper in cases when its possible side effects
(like changing working directory) does not matter.
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions