PoshCode / Configuration

A module to help other modules have settings
MIT License
176 stars 27 forks source link

Trailing empty lines #4

Closed indented-automation closed 7 years ago

indented-automation commented 8 years ago

Update-Metadata calls Set-Content which adds trailing blank lines when writing $ManifestContent, these accumulate when making multiple changes..

The addition of the NoNewLine parameter to Set-Content calls in Update-Metadata is sufficient to fix this issue.

I don't mind making the change and submitting a pull request, but it's such a small change and it may not be a problem for anyone other than me.

Regards,

Chris

Jaykul commented 8 years ago

Still worth fixing. I could fix it, but if you've already done it, I'd love to have the pull request, just to set a precedent :-)

Jaykul commented 7 years ago

Fixed for 1.0.3