Skip to content

Commit

Permalink
Fix issue #13 'Single-element arrays are not preserved'
Browse files Browse the repository at this point in the history
  • Loading branch information
vyrp committed Dec 2, 2017
1 parent 4a00d16 commit 5a0a303
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PSYaml/Private/ConvertFrom-YAMLDocument.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function ConvertFrom-YAMLDocument
$theNode | ForEach-Object{
$TheObject += ConvertFrom-YAMLDocument $_
}
return ,$TheObject
}
else
{
Expand Down

0 comments on commit 5a0a303

Please sign in to comment.