mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
don't use stdin with tflint
This commit is contained in:
@@ -21,12 +21,12 @@ Execute(The default executable should be configurable):
|
||||
Execute(The default command should be good):
|
||||
let g:ale_terraform_tflint_executable = 'tflint'
|
||||
AssertEqual
|
||||
\ ale#Escape('tflint') . ' -f json',
|
||||
\ ale#Escape('tflint') . ' -f json %t',
|
||||
\ ale_linters#terraform#tflint#GetCommand(bufnr(''))
|
||||
|
||||
Execute(Overriding things should work):
|
||||
let g:ale_terraform_tflint_executable = 'fnord'
|
||||
let g:ale_terraform_tflint_options = '--whatever'
|
||||
AssertEqual
|
||||
\ ale#Escape('fnord') . ' --whatever -f json',
|
||||
\ ale#Escape('fnord') . ' --whatever -f json %t',
|
||||
\ ale_linters#terraform#tflint#GetCommand(bufnr(''))
|
||||
|
||||
Reference in New Issue
Block a user