fix quoting regression

This commit is contained in:
Robert Kaussow 2021-06-07 18:08:56 +02:00
parent aa29687fc8
commit af357c29ce
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 1 additions and 1 deletions

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.strip("'").split() != arguments:
if task_action.strip("'").strip('"').split() != arguments:
errors.append(self.Error(task["__line__"], self.helptext))
return self.Result(candidate.path, errors)