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 MetaMainHasInfoRule when running from meta dir #1493

Merged
merged 1 commit into from Mar 25, 2021

Commits on Mar 24, 2021

  1. Fix MetaMainHasInfoRule when running from meta dir

    When ansible-lint is run directly from the meta directory for meta/main.yml, file.path is simply 'main.yml' and fails the `str(file.path).endswith('/main.yml')` test.
    We can instead compare the name attribute of the Path object to 'main.yml'.
    Udyrfrykte committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    17ddf6e View commit details
    Browse the repository at this point in the history