mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-29 00:00:35 +00:00
remove unused helptext formatting in CheckFilePermissionMissing
This commit is contained in:
parent
f41d046f1d
commit
975450f46a
@ -58,14 +58,7 @@ class CheckFilePermissionMissing(StandardBase):
|
|||||||
if not errors:
|
if not errors:
|
||||||
for task in tasks:
|
for task in tasks:
|
||||||
if self._check_mode(task):
|
if self._check_mode(task):
|
||||||
errors.append(
|
errors.append(self.Error(task["__line__"], self.helptext))
|
||||||
self.Error(
|
|
||||||
task["__line__"],
|
|
||||||
self.helptext.format(
|
|
||||||
preserve_modules=", ".join(self._preserve_modules)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
return self.Result(candidate.path, errors)
|
return self.Result(candidate.path, errors)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user