diff options
Diffstat (limited to 'test/lib/ansible_test')
-rwxr-xr-x | test/lib/ansible_test/_data/sanity/code-smell/shebang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_data/sanity/code-smell/shebang.py b/test/lib/ansible_test/_data/sanity/code-smell/shebang.py index bbfeed532a..7cf3cf7200 100755 --- a/test/lib/ansible_test/_data/sanity/code-smell/shebang.py +++ b/test/lib/ansible_test/_data/sanity/code-smell/shebang.py @@ -88,7 +88,7 @@ def main(): 'test/integration/targets/module_precedence/lib_with_extension', ): is_module = True - elif dirname == 'plugins/modules': + elif path.startswith('plugins/modules/'): is_module = True if is_module: |