Skip to content

Commit 61cc512

Browse files
authored
Codeblock array should use single quotes (#147)
Super minor, but the TargetVersions array inside of the hashtable should use single quotes for constant strings. Given the docs actually have a section on using single quotes for constant strings, I figured it was probably appropriate to submit a small PR for this :).
1 parent 4b79d16 commit 61cc512

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/docs-conceptual/PSScriptAnalyzer/Rules/UseCompatibleSyntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ PowerShell versions because they aren't able to parse the incompatible syntaxes.
2222
PSUseCompatibleSyntax = @{
2323
Enable = $true
2424
TargetVersions = @(
25-
"6.0",
26-
"5.1",
27-
"4.0"
25+
'6.0',
26+
'5.1',
27+
'4.0'
2828
)
2929
}
3030
}

0 commit comments

Comments
 (0)