diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ada2ab..804eef4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### 1.8.3 (next) - Workaround for noise from Ansible Lint 6 non-pep8 output. +- Workaround for change to versioning convention. ### 1.8.2 - Circumvent Ansible-Lint 6 bug where success message is sent to stderr. diff --git a/lib/main.js b/lib/main.js index a76ea48..51954d6 100644 --- a/lib/main.js +++ b/lib/main.js @@ -76,7 +76,7 @@ export default { // check ansible-lint version helpers.exec(atom.config.get('linter-ansible-linting.ansibleLintExecutablePath'), ['--version']).then(output => { // check if ansible-lint >= 5 - if (/^ansible-lint [0-4]/.exec(output)) { + if (/^ansible-lint [0-4]\./.exec(output)) { atom.notifications.addWarning( 'ansible-lint < 5.0 is unsupported. Backwards compatibility should exist, but is not guaranteed.', {