Skip to content

Commit 5457456

Browse files
Update tools/ImportExamples.ps1
Co-authored-by: Peter Ombwa <peombwa@microsoft.com>
1 parent 80dcb83 commit 5457456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ImportExamples.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ function Update-ExampleFile {
313313
Clear-Content $ExampleFile -Force
314314
for ($d = 0; $d -lt $HeaderList.Count; $d++) {
315315
$CodeValue = $ExampleList[$d].Trim()
316-
if($CodeValue-match "\b$CommandPattern\b"){
316+
if ($CodeValue -match "\b$CommandPattern\b") {
317317
$TitleValue = "### " + $HeaderList[$d].Trim()
318318
$Code = "``````powershell`r$CodeValue`r`n``````"
319319
$TotalText = "$TitleValue`r`n`n$Code`r`n$Description`r`n"

0 commit comments

Comments
 (0)