Skip to content

Commit ec6ea4e

Browse files
Fix for Unused local variable
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent b38e94c commit ec6ea4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cfengine_cli/format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ def _autoformat(
812812
fmt.blank_line()
813813
fmt.macro_indent = indent
814814
elif text(node).startswith("@else"):
815-
indent = fmt.macro_indent
815+
pass
816816
fmt.print(node, 0)
817817
return
818818

0 commit comments

Comments
 (0)