mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-22 04:40:42 +00:00
fix: fix quoting regression
This commit is contained in:
parent
1652014f9c
commit
aa29687fc8
@ -31,6 +31,6 @@ class CheckNativeYaml(StandardBase):
|
||||
continue
|
||||
# strip additional newlines off task[action]
|
||||
task_action = bytes(repr(task[action].strip()), "utf-8").decode("unicode_escape")
|
||||
if task_action.split() != arguments:
|
||||
if task_action.strip("'").split() != arguments:
|
||||
errors.append(self.Error(task["__line__"], self.helptext))
|
||||
return self.Result(candidate.path, errors)
|
||||
|
Loading…
Reference in New Issue
Block a user