We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1db4bb commit aaa96eeCopy full SHA for aaa96ee
ConvertTo-PList.ps1
@@ -145,7 +145,7 @@ foreach ($file in $Path) {
145
# write the PList document from a custom made object, supplying some data missing from the JSON file, ignoring some JSON objects
146
# and reordering the items that remain.
147
ConvertTo-Plist ([ordered]@{
148
- fileTypes = ([string[]]$('ps1', 'psm1', 'psd1'))
+ fileTypes = @('ps1', 'psm1', 'psd1')
149
$grammer_json.psobject.Properties['name'].Name = $grammer_json.psobject.Properties['name'].Value
150
$grammer_json.psobject.Properties['patterns'].Name = $grammer_json.psobject.Properties['patterns'].Value
151
$grammer_json.psobject.Properties['repository'].Name = $grammer_json.psobject.Properties['repository'].Value
0 commit comments