PSRule icon indicating copy to clipboard operation
PSRule copied to clipboard

LocalizedData is not exposed to if pre-conditions

Open BernieWhite opened this issue 3 years ago • 0 comments

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

BernieWhite avatar May 06 '22 04:05 BernieWhite