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

6.6.0 #260

Merged
merged 1 commit into from
Oct 26, 2024
Merged

6.6.0 #260

merged 1 commit into from
Oct 26, 2024

Conversation

JulianHayward
Copy link
Owner

No description provided.

}
foreach ($sprop in $arrayDefenderPlanSpecificPropertiesUnique) {
if ($sprop -like "$($entry.plan)_*") {
$obj | Add-Member -MemberType NoteProperty -Name $sprop -Value $entry.($sprop -replace "$($entry.plan)_", '' )

Check warning

Code scanning / PSScriptAnalyzer

'($sprop -replace "$($entry.plan)_", '' )' has non-constant members. Invoking non-constant members may cause bugs in the script. Warning

'($sprop -replace "$($entry.plan)_", '' )' has non-constant members. Invoking non-constant members may cause bugs in the script.
}
foreach ($sprop in $arrayDefenderPlanSpecificPropertiesUnique) {
if ($sprop -like "$($entry.plan)_*") {
$obj | Add-Member -MemberType NoteProperty -Name $sprop -Value $entry.($sprop -replace "$($entry.plan)_", '' )

Check warning

Code scanning / PSScriptAnalyzer

'($sprop -replace "$($entry.plan)_", '' )' has non-constant members. Invoking non-constant members may cause bugs in the script. Warning

'($sprop -replace "$($entry.plan)_", '' )' has non-constant members. Invoking non-constant members may cause bugs in the script.
@JulianHayward JulianHayward merged commit 7fd176e into master Oct 26, 2024
4 checks passed
@JulianHayward JulianHayward deleted the 6.6.0 branch October 26, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant