Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect error message on passed scriptblock by -Variables #33

Closed
santisq opened this issue Jun 23, 2024 · 0 comments · Fixed by #34
Closed

Incorrect error message on passed scriptblock by -Variables #33

santisq opened this issue Jun 23, 2024 · 0 comments · Fixed by #34
Assignees
Labels
bug Something isn't working

Comments

@santisq
Copy link
Owner

santisq commented Jun 23, 2024

Code Coverage shows that ThrowIfVariableIsScriptBlock is not being used ExceptionHelpers.cs#L41.

cmdlet.ThrowIfVariableIsScriptBlock(pair.Value);
@santisq santisq added the bug Something isn't working label Jun 23, 2024
@santisq santisq self-assigned this Jun 23, 2024
santisq added a commit that referenced this issue Jun 24, 2024
santisq added a commit that referenced this issue Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant