diff options
author | James Cherti <60946298+jamescherti@users.noreply.github.com> | 2021-07-05 12:48:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 21:48:32 +0900 |
commit | af13c350d2499aaa42f77ad8cfc070e97df06dd2 (patch) | |
tree | 4bf0b86cdb93430a9c36da3429df66578959dd07 /test/handler/test_hadolint.vader | |
parent | 87e079a9b25ebf5818b8451874ce2a8bd614226f (diff) | |
download | ale-af13c350d2499aaa42f77ad8cfc070e97df06dd2.zip |
Add stdin ("-") to the command-line arguments of ansible-lint >=5.0.0 (#3786)
* Added an explicit stdin argument to ansible-lint >=5.0.0 (ansible_lint.vim).
This commit fixes the issue "<<NO OUTPUT RETURNED>>":
```
:ALEInfo
(finished - exit code 0) ['/bin/bash', '-c', ''ansible-lint'' --parseable-severity -x yaml < ''/tmp/vVyvn4B/7/test2.yml'']
<<<NO OUTPUT RETURNED>>>'
```
Reason: Ansible-lint ignores stdin when "-" or "/dev/stdin" is not
specified explicitly.
Tested with: ansible-lint 5.0.12 using ansible 2.11.2
* Update ansible-lint tests.
Diffstat (limited to 'test/handler/test_hadolint.vader')
0 files changed, 0 insertions, 0 deletions