mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
[fix] pylint errors on modules packaging language (#30748)
* cleaning pylint errors for module packaging/language/*
This commit is contained in:
committed by
Toshio Kuratomi
parent
e767c7d694
commit
cddff32792
@@ -136,9 +136,10 @@ from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
def get_bundler_executable(module):
|
||||
if module.params.get('executable'):
|
||||
return module.params.get('executable').split(' ')
|
||||
result = module.params.get('executable').split(' ')
|
||||
else:
|
||||
return [ module.get_bin_path('bundle', True) ]
|
||||
result = [module.get_bin_path('bundle', True)]
|
||||
return result
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user