PSRule
PSRule copied to clipboard
LocalizedData is not exposed to if pre-conditions
Description of the issue
The $LocalizedData variable is not exposed to if pre-conditions although 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