mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 01:33:09 +00:00
Merge pull request #4548 from stoned/ansible-doc-fix
Fix 'ansible-doc -l' runtime error following commit 4430d0f
This commit is contained in:
@@ -161,7 +161,7 @@ def main():
|
||||
continue
|
||||
|
||||
filename = utils.plugins.module_finder.find_plugin(module)
|
||||
if os.path.isdir(filename):
|
||||
if filename is None:
|
||||
continue
|
||||
try:
|
||||
doc, plainexamples = module_docs.get_docstring(filename)
|
||||
|
||||
Reference in New Issue
Block a user