Skip to content

Example 2 of Invoke-Pester doesn't work #356

Description

@DarkLite1

I found the Plaster module in the vscode module folder and wanted to check it out. After reading the examples and trying them out it appears that example 2 doesn't work:

Invoke-Plaster -TemplatePath . -Destination ~\GitHub\NewModule -ModuleName Foo -Version 1.0.0

Invoke-Plaster : A parameter cannot be found that matches parameter name 'ModuleName'.

Activity

  1. alaurie commented on Oct 2, 2019

    @alaurie
    Contributor

    I've put in a PR editing the documentation to explain that those parameters are dynamic and only valid if the imported plaster manifest contains them.

  2. fullenw1 commented on Feb 16, 2020

    @fullenw1

    Replacing the error message with another like this one would be helpful too:

    The 'ModuleName' parameter cannot be used because it has not been defined in the parameter section of the plaster manifest

  3. locked and limited conversation to collaborators on Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions