diff options
author | SkrrtBacharach <61713784+SkrrtBacharach@users.noreply.github.com> | 2023-04-07 01:19:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 09:19:58 +0900 |
commit | 57254db9ef1e0b0bf21466ed2d3ebaf60338768f (patch) | |
tree | 60f82e2b05e88069f96ca4ead910a2be5f5fb4a4 /ale_linters/java | |
parent | b0ba31f88e09c033630ac15ae07143af7f658072 (diff) | |
download | ale-57254db9ef1e0b0bf21466ed2d3ebaf60338768f.zip |
Fix error from ansible-lint versions >=6.11.0. (#4492)
* Fix error from ansible-lint versions >=6.11.0.
The JSON output format of ansible-lint has changed since
6.11.0. Issue locations can have either a 'positions' or
a 'lines' member, rather than just a 'lines' member as it
was before. This fix checks which member is present, and
passes that member name to subsequent dictionary lookups.
The error was caused by the following change:
https://github.com/ansible/ansible-lint/pull/2897
* Add ansible-lint test to check each type of ansible-lint issue json.
* Change long single-line JSON in ansible test into multiline JSON.
* Fix linting errors in ansible_lint.vim.
Diffstat (limited to 'ale_linters/java')
0 files changed, 0 insertions, 0 deletions