Affect only collections, not core.

Co-authored-by: Matt Clay <matt@mystile.com>
pull/79700/head
Felix Fontein 1 year ago
parent 3af5728969
commit 32bd431b8c

@ -86,7 +86,7 @@ def main():
continue
elif re.search('^roles/[^/]+/(?:files|templates)/', path):
is_role_file = True
elif re.search('^tests?/integration/targets/[^/]+/(?:files|templates)/', path):
elif re.search('^tests/integration/targets/[^/]+/(?:files|templates)/', path):
is_role_file = True
elif path.startswith('test/integration/targets/') or path.startswith('tests/integration/targets/'):
is_integration = True

Loading…
Cancel
Save