fix: fix quoting regression

This commit is contained in:
Robert Kaussow 2021-06-07 17:29:44 +02:00
parent 1652014f9c
commit aa29687fc8
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -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)