summaryrefslogtreecommitdiff
path: root/ale_linters/thrift
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-12 13:05:59 +0100
committerw0rp <devw0rp@gmail.com>2018-07-12 13:05:59 +0100
commitac0abc7c1fb1150edc4359e1a86c2a22e95de71c (patch)
treeebe0ff7cd658568a35900b0e39bbeaeab6c2d655 /ale_linters/thrift
parent6ef31073dd8f8d094ef7bc5e7152a576ef4f9064 (diff)
downloadale-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.vim2
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)