diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-12 09:20:16 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-12 09:20:16 +0100 |
commit | 07b2542c0d6505f2a843e700d246367a522ecf64 (patch) | |
tree | 5a0ee411ef62a76d1cf04ccd1bdff4dd8e3e786a /ale_linters/elm/make.vim | |
parent | fa54f7af97f2bb33eec1363b2262caa5a5b70d0b (diff) | |
download | ale-07b2542c0d6505f2a843e700d246367a522ecf64.zip |
#549 Temporarily revert shell escaping changes, just for Windows
Diffstat (limited to 'ale_linters/elm/make.vim')
-rw-r--r-- | ale_linters/elm/make.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/elm/make.vim b/ale_linters/elm/make.vim index 75a124ae..08bc24b5 100644 --- a/ale_linters/elm/make.vim +++ b/ale_linters/elm/make.vim @@ -43,14 +43,14 @@ function! ale_linters#elm#make#GetCommand(buffer) abort let l:dir_set_cmd = '' else let l:root_dir = fnamemodify(l:elm_package, ':p:h') - let l:dir_set_cmd = 'cd ' . shellescape(l:root_dir) . ' && ' + let l:dir_set_cmd = 'cd ' . ale#Escape(l:root_dir) . ' && ' endif " The elm-make compiler, at the time of this writing, uses '/dev/null' as " a sort of flag to tell the compiler not to generate an output file, " which is why this is hard coded here. " Source: https://github.com/elm-lang/elm-make/blob/master/src/Flags.hs - let l:elm_cmd = 'elm-make --report=json --output='.shellescape('/dev/null') + let l:elm_cmd = 'elm-make --report=json --output='.ale#Escape('/dev/null') return l:dir_set_cmd . ' ' . l:elm_cmd . ' %t' endfunction |