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

Add foreach Assignment to AvoidAssignmentToAutomaticVariable #2021

Merged
merged 5 commits into from
Feb 25, 2025

Conversation

PoshAJ
Copy link
Contributor

@PoshAJ PoshAJ commented Aug 10, 2024

PR Summary

Fixes #2020

PR Checklist

@PoshAJ PoshAJ changed the title Add foreach Assignment to PSAvoidAssignmentToAutomaticVariable Add foreach Assignment to AvoidAssignmentToAutomaticVariable Aug 10, 2024
Copy link
Collaborator

@bergmeister bergmeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@andyleejordan andyleejordan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, nice fix, thank you.

@andyleejordan andyleejordan enabled auto-merge (squash) February 25, 2025 00:05
@andyleejordan andyleejordan merged commit 01a3259 into PowerShell:main Feb 25, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

foreach Variable Assignment isn't Validated by PSAvoidAssignmentToAutomaticVariable
3 participants