Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix line number on var-naming error for 'register' #2840

Merged
merged 1 commit into from Dec 24, 2022

Conversation

zigarn
Copy link
Contributor

@zigarn zigarn commented Dec 21, 2022

To avoid this ignored exception:

WARNING  Ignored exception from VariableNamingRule.<bound method AnsibleLintRule.matchtasks of var-naming: All variables should be named using only lowercase and underscores.> while processing examples/playbooks/rule-var-naming-fail.yml (playbook): MatchError called incorrectly as line numbers start with 1

To avoid this ignored exception: 'WARNING  Ignored exception from VariableNamingRule.<bound method AnsibleLintRule.matchtasks of var-naming: All variables should be named using only lowercase and underscores.> while processing examples/playbooks/rule-var-naming-fail.yml (playbook): MatchError called incorrectly as line numbers start with 1'
@ssbarnea ssbarnea merged commit b432044 into ansible:main Dec 24, 2022
@zigarn zigarn deleted the fix-linenumber-zero branch December 25, 2022 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants