diff options
| author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2023-07-16 14:50:10 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-16 05:50:10 -0700 | 
| commit | f660b794808ac809ee8cafe82ddd824840bc8e2c (patch) | |
| tree | 4e43accfbb4b60414caa99e03cdec54203d676cf /runtime/lua/vim/treesitter/_fold.lua | |
| parent | c3de6524a53dc355b1c8074eb6940e9e73714057 (diff) | |
| download | rneovim-f660b794808ac809ee8cafe82ddd824840bc8e2c.tar.gz rneovim-f660b794808ac809ee8cafe82ddd824840bc8e2c.tar.bz2 rneovim-f660b794808ac809ee8cafe82ddd824840bc8e2c.zip | |
test(fs): get tmpdir robustly #23021
Problem:
helpers.tmpname() may create a local file, depending on circumstances.
Solution:
Only use helpers.tmpname() for its parent directory (the "temp root").
Use fs_mkdtemp() to actually get a unique name.
Diffstat (limited to 'runtime/lua/vim/treesitter/_fold.lua')
0 files changed, 0 insertions, 0 deletions
