Skip to content

Commit dbcd960

Browse files
authored
Fix bug with auto-fix ending too soon (#3855)
1 parent 83250b4 commit dbcd960

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/ansiblelint/transformer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ def run(self) -> None:
109109
self._do_transforms(file, ruamel_data or data, file_is_yaml, matches)
110110

111111
if not file.is_owned_by_ansible():
112-
return
112+
# Do nothing until we enable support for YAML 1.2
113+
# https://github.com/ansible/ansible-lint/issues/3811
114+
continue
113115

114116
if file_is_yaml:
115117
# noinspection PyUnboundLocalVariable

0 commit comments

Comments
 (0)