Skip to content

Exception should be assigned to dollar under/PSItem in catch #22

Description

@SeeminglyScience

There's no way to reference the exception that caused a catch block at the moment. The exception should be assigned to $_/$PSItem if it's referenced in the catch block.

Also, looks like I accidently used Enumerable.Count instead of ReadOnlyCollection<>.Count here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions