Skip to content

Start-DevPowerShell always throws an InvalidOperation error on exit #13206

@rjmholt

Description

@rjmholt

Steps to reproduce

> Start-DevPowerShell
>> exit

Expected behavior

<exits quietly like a good shell>

Actual behavior

> exit
PS C:\Users\Robert Holt\Documents\Dev\Microsoft\PowerShell> exit
InvalidOperation: C:\Users\Robert Holt\Documents\Dev\Microsoft\PowerShell\build.psm1:1973
Line |
1973 |          if ($ZapDisable) {
     |              ~~~~~~~~~~~
     | The variable '$ZapDisable' cannot be retrieved because it has not been set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Maintainers-Buildspecific to affecting the buildFirst-Time-IssueEasy issues first time contributors can work on to learn about this projectIssue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions