mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +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
@@ -217,12 +217,12 @@ def main():
|
||||
changed = False
|
||||
if state == 'present':
|
||||
installed, missing, outdated = bower.list()
|
||||
if len(missing):
|
||||
if missing:
|
||||
changed = True
|
||||
bower.install()
|
||||
elif state == 'latest':
|
||||
installed, missing, outdated = bower.list()
|
||||
if len(missing) or len(outdated):
|
||||
if missing or outdated:
|
||||
changed = True
|
||||
bower.update()
|
||||
else: # Absent
|
||||
|
||||
Reference in New Issue
Block a user