Skip to content

cfengine format: Fixed indentation of comments inside empty bundles and ensured empty lines between bundles were empty comments were removed#65

Merged
olehermanse merged 3 commits into
cfengine:mainfrom
olehermanse:empty-lines
Apr 16, 2026
Merged

cfengine format: Fixed indentation of comments inside empty bundles and ensured empty lines between bundles were empty comments were removed#65
olehermanse merged 3 commits into
cfengine:mainfrom
olehermanse:empty-lines

Conversation

@olehermanse
Copy link
Copy Markdown
Member

  • tests: Added formatting test for leaving empty line when removing empty comment(s)
  • cfengine format: Fixed indentation of comments inside empty blocks
  • cfengine format: Fixed case where removed empty comments would cause no empty line between bundles

olehermanse and others added 3 commits April 16, 2026 01:18
…ty comment(s)

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
…no empty line between bundles

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
@olehermanse olehermanse marked this pull request as ready for review April 15, 2026 23:23
Copy link
Copy Markdown
Contributor

@craigcomstock craigcomstock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah. :)

@olehermanse olehermanse merged commit 367eed6 into cfengine:main Apr 16, 2026
5 checks passed
@olehermanse olehermanse deleted the empty-lines branch April 16, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants