Skip to content

Prompt functions that return something other than string cause an InvalidCastException #339

Closed
@rkeithhill

Description

I was trying to debug some Pester tests while using latest PSES bits and was getting stymied by my breakpoints never getting hit. When I commented out the bundledModulesPath setting and went back to using 0.8.0, my breakpoints were hit.

Should be able to repro this with the Plaster repo, opening debugHarness.ps1 and uncommenting the code that invokes Pester. Set a breakpoint in one of the *.Tests.ps1 files and see if it gets hit.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions