diff options
author | w0rp <devw0rp@gmail.com> | 2018-07-12 13:05:59 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-07-12 13:05:59 +0100 |
commit | ac0abc7c1fb1150edc4359e1a86c2a22e95de71c (patch) | |
tree | ebe0ff7cd658568a35900b0e39bbeaeab6c2d655 /ale_linters/thrift | |
parent | 6ef31073dd8f8d094ef7bc5e7152a576ef4f9064 (diff) | |
download | ale-ac0abc7c1fb1150edc4359e1a86c2a22e95de71c.zip |
Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIR
Diffstat (limited to 'ale_linters/thrift')
-rw-r--r-- | ale_linters/thrift/thrift.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/thrift/thrift.vim b/ale_linters/thrift/thrift.vim index 2f62570a..741e80ab 100644 --- a/ale_linters/thrift/thrift.vim +++ b/ale_linters/thrift/thrift.vim @@ -20,7 +20,7 @@ function! ale_linters#thrift#thrift#GetCommand(buffer) abort let l:generators = ['cpp'] endif - let l:output_dir = tempname() + let l:output_dir = ale#util#Tempname() call mkdir(l:output_dir) call ale#engine#ManageDirectory(a:buffer, l:output_dir) |