diff options
author | Matt Clay <matt@mystile.com> | 2020-03-19 09:37:37 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2020-03-19 09:50:36 -0700 |
commit | 9d0113be5cc5797e8afe9daadada7ca2d1422ba8 (patch) | |
tree | af0efc7bd601978dabb35f1466fb707ba75a389d /test/lib/ansible_test | |
parent | 9237c4f788d5ceb6f1fd23ef956c590703dcc3bd (diff) | |
download | ansible-9d0113be5cc5797e8afe9daadada7ca2d1422ba8.tar.gz |
Fix shebang sanity test module identification.
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: |