Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not add empty line before the first section inside a region #1298

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

scnwwu
Copy link
Member

@scnwwu scnwwu commented Nov 26, 2024

Summary
Fix #1288
When inside a region, it's not the first node but the second. The first node is the region start statement (e.g. %macro;)

Testing
Test case in #1288

@scnwwu scnwwu added this to the 1.13.0 milestone Nov 26, 2024
@enzhihpp enzhihpp assigned Zhirong2022 and unassigned enzhihpp Nov 28, 2024
@Zhirong2022 Zhirong2022 added testing Test the pull requests and removed verification-needed labels Nov 29, 2024
@Zhirong2022
Copy link
Collaborator

It has no empty line added before the first section inside Macro region.

@Zhirong2022 Zhirong2022 added testing-complete Complete the pull requests testing and removed testing Test the pull requests labels Nov 29, 2024
@scnwwu scnwwu merged commit 8d905fd into sassoftware:main Nov 29, 2024
2 checks passed
@scnwwu scnwwu deleted the p-formatregionstart branch November 29, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing-complete Complete the pull requests testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] An empty line was added inside the macro region by mistake after save format.
4 participants