Skip to content

Commit

Permalink
workaround for change to versioning convention
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuchard committed Feb 12, 2024
1 parent 0b2dd40 commit b66a296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
{
Expand Down

0 comments on commit b66a296

Please sign in to comment.