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

LocalizedData is not exposed to if pre-conditions #1083

Closed
BernieWhite opened this issue May 6, 2022 · 0 comments · Fixed by #1478
Closed

LocalizedData is not exposed to if pre-conditions #1083

BernieWhite opened this issue May 6, 2022 · 0 comments · Fixed by #1478
Assignees
Labels
bug Something isn't working
Milestone

Comments

@BernieWhite
Copy link
Member

BernieWhite commented May 6, 2022

Description of the issue

The $LocalizedData variable is not exposed to if pre-conditions although it should be.

To Reproduce

See Azure/PSRule.Rules.Azure#1401

https://github.com/Azure/PSRule.Rules.Azure/blob/92eeaed44da909ea1118721ea61dde6707e5e5e6/src/PSRule.Rules.Azure/rules/Azure.Common.Rule.ps1#L186-L189

Module in use and version:

  • Module: PSRule
  • Version: 2.1.0
@BernieWhite BernieWhite added the bug Something isn't working label May 6, 2022
@BernieWhite BernieWhite self-assigned this Mar 17, 2023
@BernieWhite BernieWhite added this to the v2.8.0 milestone Mar 17, 2023
BernieWhite added a commit to BernieWhite/PSRule that referenced this issue Mar 17, 2023
@BernieWhite BernieWhite mentioned this issue Mar 27, 2023
4 tasks
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