mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
win_regedit: fix for same dword value (#26415)
This commit is contained in:
parent
69ade22243
commit
8e9d04043a
2 changed files with 26 additions and 4 deletions
|
@ -82,14 +82,14 @@ Function Compare-Data {
|
|||
} else {
|
||||
return $false
|
||||
}
|
||||
} elseif ($ReferenceData -is [string] -or $ReferenceData -is [int]) {
|
||||
if ($ReferenceData -ceq $DifferenceData) {
|
||||
} elseif ($ReferenceData -is [object[]]) {
|
||||
if (@(Compare-Object $ReferenceData $DifferenceData -SyncWindow 0).Length -eq 0) {
|
||||
return $true
|
||||
} else {
|
||||
return $false
|
||||
}
|
||||
} elseif ($ReferenceData -is [object[]]) {
|
||||
if (@(Compare-Object $ReferenceData $DifferenceData -SyncWindow 0).Length -eq 0) {
|
||||
} else {
|
||||
if ($ReferenceData -ceq $DifferenceData) {
|
||||
return $true
|
||||
} else {
|
||||
return $false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue