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

PSAvoidUsingPositionalParameters: Do not warn on AZ CLI #1846

Merged
merged 3 commits into from
Sep 27, 2022

Conversation

bergmeister
Copy link
Collaborator

@bergmeister bergmeister commented Sep 22, 2022

PR Summary

Fixes #1845
AZ CLI entrypoint recently changed from a batch file to an az.ps1 'script' in latest version 2.40.0, which just passed $args arguments as-is to python so it is still a CLI and not a script with parameters.

PR Checklist

@bergmeister bergmeister added this to the 1.21 milestone Sep 22, 2022
@bergmeister
Copy link
Collaborator Author

After an internal review we decided that we should not have it in code but as configuration but can still exclude az by default.

Copy link
Member

@JamesWTruher JamesWTruher left a comment

Choose a reason for hiding this comment

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

this looks really good

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

Successfully merging this pull request may close these issues.

PSAvoidUsingPositionalParameters reports issue with az command when version 2.40.0 of az cli is installed
2 participants