mirror of
https://github.com/dense-analysis/ale
synced 2024-12-24 15:13:02 +00:00
Try to fix the tests on Windows
This commit is contained in:
parent
864818a385
commit
d7efb13203
@ -13,13 +13,9 @@ Before:
|
||||
function! GetCommand(buffer) abort
|
||||
let l:command = ale_linters#elixir#mix#GetCommand(a:buffer)
|
||||
|
||||
let l:split_command = split(l:command, 'MIX_BUILD_PATH=[^ ]*\s')
|
||||
|
||||
return l:split_command[0] . 'MIX_BUILD_PATH=TEMP' . l:split_command[1]
|
||||
return substitute(l:command, 'MIX_BUILD_PATH=[^ ]\+', 'MIX_BUILD_PATH=TEMP', '')
|
||||
endfunction
|
||||
|
||||
|
||||
|
||||
After:
|
||||
Restore
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user