Skip to content

Running Update-MarkdownHelp with no changes is adding CommonParameters #223

Closed
@rkeithhill

Description

@rkeithhill

BTW very well could be a problem with the initial new-markdownhelp not adding the common parameter info in the first place.

Steps to reproduce

Generate markdown with new-markdownhelp on advanced function.
Fill in placeholders.
Commit that
With no changes to the function run update-markdownhelp.

Expected behavior

No difference.

Actual behavior

[CommonParameters] was added to the syntax section.
image

image

Also curious that update removed a blank line.

Environment data

v0.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help wantedTag - Help wanted from the community to resolve this issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions