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
|
function! GetCommand(buffer) abort
|
||||||
let l:command = ale_linters#elixir#mix#GetCommand(a:buffer)
|
let l:command = ale_linters#elixir#mix#GetCommand(a:buffer)
|
||||||
|
|
||||||
let l:split_command = split(l:command, 'MIX_BUILD_PATH=[^ ]*\s')
|
return substitute(l:command, 'MIX_BUILD_PATH=[^ ]\+', 'MIX_BUILD_PATH=TEMP', '')
|
||||||
|
|
||||||
return l:split_command[0] . 'MIX_BUILD_PATH=TEMP' . l:split_command[1]
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
After:
|
After:
|
||||||
Restore
|
Restore
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user