diff --git a/src/ansiblelint/rules/meta_runtime.py b/src/ansiblelint/rules/meta_runtime.py index 2e2fdd5d7e..407fabb4f5 100644 --- a/src/ansiblelint/rules/meta_runtime.py +++ b/src/ansiblelint/rules/meta_runtime.py @@ -69,9 +69,8 @@ def matchyaml(self, file: Lintable) -> list[MatchError]: filename=file, ) ) - return results - return [] + return results # testing code to be loaded only with pytest or when executed the rule file