Skip autocorrecting when comments are present
- Autocorrecting previously replaced or removed whole `on_arch` blocks could delete user-authored comments that are not represented in the AST. Keep reporting offenses, but avoid autocorrection when comments fall within the affected block ranges. Co-authored-by: Issy Long <me@issylong.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
I
Issy Long committed
d4336777e0dd7c8173995dce5f1440852af233ac
Parent: 8bfcf08