ansible-lint icon indicating copy to clipboard operation
ansible-lint copied to clipboard

Crash since 24.5.0: 1 MatchError called incorrectly as line numbers start with 1

Open nvuillam opened this issue 1 month ago • 0 comments

Summary

ansible-lint returns the following error MatchError called incorrectly as line numbers start with 1

Issue Type
  • Bug Report
OS / ENVIRONMENT
ansible-lint 24.5.0 using ansible-core:2.16.6 ansible-compat:24.5.1 ruamel-yaml:0.18.6 ruamel-yaml-clib:0.2.8
  • ansible installation method: pip
  • ansible-lint installation method: pip
STEPS TO REPRODUCE
ansible-lint
1 MatchError called incorrectly as line numbers start with 1
Desired Behavior

No crash :)

Actual Behavior

crash with 1 MatchError called incorrectly as line numbers start with 1

You can see the error in MegaLinter build log: https://github.com/oxsecurity/megalinter/actions/runs/9149776695/job/25153984448?pr=3559

nvuillam avatar May 19 '24 19:05 nvuillam