Skip to content

Update-ScriptFileInfo adds blank lines between comment blocks each time it runs #347

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

Closed
jtstuedle opened this issue Mar 5, 2021 · 2 comments
Assignees
Labels
Area-InfoFile Issue-Bug Something isn't working
Milestone

Comments

@jtstuedle
Copy link

jtstuedle commented Mar 5, 2021

Original Script File

<#PSScriptInfo
....usual script info
#>

<#

    .Synopsis
    Blah

    .Description
    Blah
    ...
    ...
#>

First Update-ScriptFileInfo run

Update-ScriptFileInfo -Path script.ps1 -Author blah -Description blah -Guid blah

Updated Script File

<#PSScriptInfo
....usual script info
#>


###Blank Line added here by update-scriptfileinfo every time it's run###
<#

    .Synopsis
    Blah

    .Description
    Blah
    ...
    ...
#>
@SydneyhSmith
Copy link
Collaborator

Thanks @jtstuedle this looks like it is potentially related to https://github.com/PowerShell/PowerShellGet/issues/316

@alerickson
Copy link
Member

Resolved with PR #708

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-InfoFile Issue-Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants