aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/json.lua
diff options
context:
space:
mode:
authorkylo252 <59826753+kylo252@users.noreply.github.com>2023-07-16 14:50:10 +0200
committerGitHub <noreply@github.com>2023-07-16 05:50:10 -0700
commitf660b794808ac809ee8cafe82ddd824840bc8e2c (patch)
tree4e43accfbb4b60414caa99e03cdec54203d676cf /runtime/lua/vim/_meta/json.lua
parentc3de6524a53dc355b1c8074eb6940e9e73714057 (diff)
downloadrneovim-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/_meta/json.lua')
0 files changed, 0 insertions, 0 deletions