mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 13:34:46 +08:00
Try to fix the tests on Windows
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user