Skip to content

Commit e1db4bb

Browse files
committed
remove quotes from hash literals
1 parent e300c7f commit e1db4bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ConvertTo-PList.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ foreach ($file in $Path) {
145145
# write the PList document from a custom made object, supplying some data missing from the JSON file, ignoring some JSON objects
146146
# and reordering the items that remain.
147147
ConvertTo-Plist ([ordered]@{
148-
'fileTypes' = ([string[]]$('ps1', 'psm1', 'psd1'))
148+
fileTypes = ([string[]]$('ps1', 'psm1', 'psd1'))
149149
$grammer_json.psobject.Properties['name'].Name = $grammer_json.psobject.Properties['name'].Value
150150
$grammer_json.psobject.Properties['patterns'].Name = $grammer_json.psobject.Properties['patterns'].Value
151151
$grammer_json.psobject.Properties['repository'].Name = $grammer_json.psobject.Properties['repository'].Value
152152
$grammer_json.psobject.Properties['scopeName'].Name = $grammer_json.psobject.Properties['scopeName'].Value
153-
'uuid' = 'f8f5ffb0-503e-11df-9879-0800200c9a66'
153+
uuid = 'f8f5ffb0-503e-11df-9879-0800200c9a66'
154154
}) $Indent
155155
}

0 commit comments

Comments
 (0)