Expand a few aliases

This commit is contained in:
François-Xavier Cat
2018-10-01 17:01:15 -07:00
parent d8bd5a8cb6
commit 1951a61699
14 changed files with 18 additions and 18 deletions

View File

@@ -21,9 +21,9 @@ function Get-HtmlTable {
if(!$propertyNames) {
if($cells[0].tagName -eq 'th') {
$propertyNames = @($cells | foreach {$_.innertext -replace ' ',''})
$propertyNames = @($cells | ForEach-Object {$_.innertext -replace ' ',''})
} else {
$propertyNames = @(1..($cells.Count + 2) | % { "P$_" })
$propertyNames = @(1..($cells.Count + 2) | Foreach-Object { "P$_" })
}
continue
}