Skip to content

Commit

Permalink
Fix up "Calculated Property" snippet (#4455)
Browse files Browse the repository at this point in the history
It had an extra `#>` end marker.
  • Loading branch information
DougDyreng authored Mar 13, 2023
1 parent 99fd944 commit 4fd2e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/PowerShell.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"prefix": "calculated-property",
"description": "Typically used with Select-Object or Sort-Object. More: Get-Help about_Calculated_Properties",
"body": [
"@{Name='${1:PropertyName}';Expression={${2:${TM_SELECTED_TEXT:<# Desired result. You can reference this object via \\$_ and \\$PSItem#>}}}}$0 #>"
"@{Name='${1:PropertyName}';Expression={${2:${TM_SELECTED_TEXT:<# Desired result. You can reference this object via \\$_ and \\$PSItem #>}}}}$0"
]
},
"Class": {
Expand Down

0 comments on commit 4fd2e0c

Please sign in to comment.