We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description of the issue
Currently the PSRule pipeline does not isolate module runspaces when called on the command line together.
For example:
Invoke-PSRule -Module 'PSRule.Rules.CAF', 'PSRule.Rules.Azure';
When internal functions use the same name they can clash and only one wins. In this case both module define a SupportsTags helper function.
SupportsTags
Expected behaviour
Update helper function name with CAF_ prefix.
CAF_
Module in use and version:
Captured output from $PSVersionTable:
$PSVersionTable
Name Value ---- ----- PSVersion 7.0.3 PSEdition Core GitCommitId 7.0.3 OS Microsoft Windows 10.0.19041 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0
The text was updated successfully, but these errors were encountered:
Fixed coexistence with PSRule.Rules.Azure #20
10fb7bb
Fixed coexistence with PSRule.Rules.Azure #20 (#21)
7358e12
Successfully merging a pull request may close this issue.
Description of the issue
Currently the PSRule pipeline does not isolate module runspaces when called on the command line together.
For example:
When internal functions use the same name they can clash and only one wins. In this case both module define a
SupportsTags
helper function.Expected behaviour
Update helper function name with
CAF_
prefix.Module in use and version:
Captured output from
$PSVersionTable
:The text was updated successfully, but these errors were encountered: