Skip to content

Commit

Permalink
fix hardcoded match type (#6431)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 authored May 26, 2020
1 parent 707a88d commit 029ce2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function ConvertFrom-{{{apiNamePrefix}}}JsonTo{{{classname}}} {

foreach($property in $matchInstance.PsObject.Properties) {
if ($null -ne $property.Value) {
$matchType = "Dog"
$matchType = "{{{.}}}"
$match++
break
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function ConvertFrom-{{{apiNamePrefix}}}JsonTo{{{classname}}} {

foreach($property in $matchInstance.PsObject.Properties) {
if ($null -ne $property.Value) {
$matchType = "Dog"
$matchType = "{{{.}}}"
$match++
break
}
Expand Down

0 comments on commit 029ce2c

Please sign in to comment.