Make drafter linter use stdin instead of writing to tmp file

Writing to a tmp file is unnecessary as drafter will use stdin if a path
is not provided.
This commit is contained in:
Kyle Fuller 2018-07-22 16:32:39 +01:00
parent 04fbea6e80
commit f937b98e27
1 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,6 @@ call ale#linter#Define('apiblueprint', {
\ 'name': 'drafter',
\ 'output_stream': 'stderr',
\ 'executable': 'drafter',
\ 'command': 'drafter --use-line-num --validate %t',
\ 'command': 'drafter --use-line-num --validate',
\ 'callback': 'ale_linters#apiblueprint#drafter#HandleErrors',
\})