Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIR

This commit is contained in:
w0rp
2018-07-12 13:05:59 +01:00
parent 6ef31073dd
commit ac0abc7c1f
18 changed files with 145 additions and 133 deletions

View File

@@ -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)