From aa29687fc8a9f1cf2483cdb3dfb0cd2afe0e4759 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 7 Jun 2021 17:29:44 +0200 Subject: [PATCH] fix: fix quoting regression --- ansiblelater/rules/CheckNativeYaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansiblelater/rules/CheckNativeYaml.py b/ansiblelater/rules/CheckNativeYaml.py index 9d092a7..7f01802 100644 --- a/ansiblelater/rules/CheckNativeYaml.py +++ b/ansiblelater/rules/CheckNativeYaml.py @@ -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)