Skip to content

Commit

Permalink
Merge pull request #56 from h-hirokawa/pr54
Browse files Browse the repository at this point in the history
ansible 2.10.* DocCLI.find_plugins fix
  • Loading branch information
dnorthup-ums authored Nov 25, 2020
2 parents f51d48a + c145323 commit 585ab23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion libs/parse_ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ def get_module_list():
if use_old_loader:
doc_cli.find_modules(path)
else:
founds = doc_cli.find_plugins(path, 'module')
try:
founds = doc_cli.find_plugins(path, 'module')
except TypeError:
founds = doc_cli.find_plugins(path, 'plugins', 'module')
if founds:
doc_cli.plugin_list.update(founds)
module_list = (
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "autocomplete-ansible",
"main": "./libs/main",
"version": "0.1.25",
"version": "0.1.26",
"description": "An autocomplete+ provider for Ansible Playbook",
"keywords": [],
"repository": "https://github.com/h-hirokawa/atom-autocomplete-ansible",
Expand Down

0 comments on commit 585ab23

Please sign in to comment.