Skip to content

Commit

Permalink
Simplify logic for meta-runtime rule (#3089)
Browse files Browse the repository at this point in the history
Co-authored-by: Ajinkya Udgirkar <audgirka@redhat.com>
  • Loading branch information
audgirka and audgirka authored Feb 28, 2023
1 parent 5c75f7c commit 688cd5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ansiblelint/rules/meta_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 688cd5b

Please sign in to comment.