Skip to content

Commit 49b46c9

Browse files
fix: Turtle.set_PatternAnimation ease of use ( Fixes #26 )
Allowing dictionary values
2 parents d87020d + 3a39a7b commit 49b46c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Turtle.types.ps1xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ $PathAttribute = [Ordered]@{}
14851485
)
14861486

14871487
if (-not $this.'.PathAttribute') {
1488-
$this | Add-Member -MemberType NoteProperty -Name '.PathAttribute' -Value $PathAttribute -Force
1488+
$this | Add-Member -MemberType NoteProperty -Name '.PathAttribute' -Value ([Ordered]@{}) -Force
14891489
}
14901490
foreach ($key in $PathAttribute.Keys) {
14911491
$this.'.PathAttribute'[$key] = $PathAttribute[$key]

0 commit comments

Comments
 (0)