mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
win_regedit: Make the string comparison case sensitive when comparing string values (#25536)
* Make the string comparison case sensitive when comparing string values * Added documentation note about change detection now being case-sensitive
This commit is contained in:
parent
74efda65cd
commit
1ec115d830
2 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,7 @@ Function Compare-Data {
|
|||
return $false
|
||||
}
|
||||
} elseif ($ReferenceData -is [string] -or $ReferenceData -is [int]) {
|
||||
if ($ReferenceData -eq $DifferenceData) {
|
||||
if ($ReferenceData -ceq $DifferenceData) {
|
||||
return $true
|
||||
} else {
|
||||
return $false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue