Editing this again: Now that the -NoNewLine switch was removed from the Set-Content call in the Update-MetaData function, there is a new line added to the psd1 each time it is edited. My idea for a fix would be to just add a .Trim() on the value so that it only ends up with a single newline in all cases.
Editing this again: Now that the -NoNewLine switch was removed from the Set-Content call in the Update-MetaData function, there is a new line added to the psd1 each time it is edited. My idea for a fix would be to just add a .Trim() on the value so that it only ends up with a single newline in all cases.