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

RegistryPolicyFile: resolve issue #34 valuetype case mismatch in resource parser vs schema #35

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- GPRegistryPolicyDsc
- Fixed REG_MULTI_SZ double null termination issue ([issue #25](https://github.com/dsccommunity/GPRegistryPolicyDsc/issues/25)).
- Fixed GetRegTypeString() returns unsupported values for DWORD and QWORD ([issue #34](https://github.com/dsccommunity/GPRegistryPolicyDsc/issues/34))

## [1.2.0] - 2020-03-13

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -687,15 +687,15 @@
}
([RegType]::REG_DWORD)
{
$Result = 'DWord'
$Result = 'Dword'
}
([RegType]::REG_MULTI_SZ)
{
$Result = 'MultiString'
}
([RegType]::REG_QWORD)
{
$Result = 'QWord'
$Result = 'Qword'

Check warning on line 698 in source/Modules/GPRegistryPolicyFileParser/GPRegistryPolicyFileParser.psm1

View check run for this annotation

Codecov / codecov/patch

source/Modules/GPRegistryPolicyFileParser/GPRegistryPolicyFileParser.psm1#L698

Added line #L698 was not covered by tests
}
default
{
Expand Down Expand Up @@ -724,15 +724,15 @@
{
$result = [RegType]::REG_BINARY
}
'DWord'
'Dword'
{
$result = [RegType]::REG_DWORD
}
'MultiString'
{
$result = [RegType]::REG_MULTI_SZ
}
'QWord'
'Qword'
{
$result = [RegType]::REG_QWORD
}
Expand Down