mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-25 06:10:42 +00:00
fix linting
This commit is contained in:
parent
4278df2848
commit
dd93c07279
@ -34,8 +34,8 @@ class CheckGitHasVersion(StandardBase):
|
|||||||
if not errors:
|
if not errors:
|
||||||
for task in tasks:
|
for task in tasks:
|
||||||
if (
|
if (
|
||||||
task['action']['__ansible_module__'] == 'git'
|
task["action"]["__ansible_module__"] == "git"
|
||||||
and task['action'].get('version', 'HEAD') == 'HEAD'
|
and task["action"].get("version", "HEAD") == "HEAD"
|
||||||
):
|
):
|
||||||
errors.append(self.Error(task["__line__"], self.helptext))
|
errors.append(self.Error(task["__line__"], self.helptext))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user