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

write: pretty print section only if it is not the last one #321

Merged
merged 2 commits into from May 29, 2022

Conversation

danilo-gemoli
Copy link
Contributor

This PR should prevent a double new line to be written when rendering the last section.

@codecov
Copy link

codecov bot commented May 29, 2022

Codecov Report

Merging #321 (c45b39d) into main (39f9e49) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #321   +/-   ##
=======================================
  Coverage   87.97%   87.98%           
=======================================
  Files           9        9           
  Lines        1364     1365    +1     
=======================================
+ Hits         1200     1201    +1     
  Misses         98       98           
  Partials       66       66           

@unknwon unknwon changed the title Pretty print section only if it is not the last one write: pretty print section only if it is not the last one May 29, 2022
Copy link
Member

@unknwon unknwon left a comment

Choose a reason for hiding this comment

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

Thank you!

@unknwon unknwon merged commit 842b9a9 into go-ini:main May 29, 2022
@unknwon
Copy link
Member

unknwon commented May 29, 2022

https://github.com/go-ini/ini/releases/tag/v1.66.5 has been tagged for this merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants