mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 19:16:48 +00:00
Correct typo from 'Delimeter' to 'Delimiter' (#7625)
This commit is contained in:
@@ -279,10 +279,10 @@ class TableNode: BaseNode {
|
|||||||
$maxColumnWidths = $this.CalculateColumnsWidth()
|
$maxColumnWidths = $this.CalculateColumnsWidth()
|
||||||
$columnsCount = $maxColumnWidths.Count
|
$columnsCount = $maxColumnWidths.Count
|
||||||
|
|
||||||
$delimeterLine = [String]::Join("|", @("-") * $columnsCount)
|
$delimiterLine = [String]::Join("|", @("-") * $columnsCount)
|
||||||
|
|
||||||
$sb = [System.Text.StringBuilder]::new()
|
$sb = [System.Text.StringBuilder]::new()
|
||||||
@($this.Headers) + @($delimeterLine) + $this.Rows | ForEach-Object {
|
@($this.Headers) + @($delimiterLine) + $this.Rows | ForEach-Object {
|
||||||
$sb.Append("|")
|
$sb.Append("|")
|
||||||
$row = $_.Split("|")
|
$row = $_.Split("|")
|
||||||
|
|
||||||
|
|||||||
@@ -113,8 +113,8 @@ function ShouldReturnZeroExitCodeWithParam {
|
|||||||
|
|
||||||
while ($delimiterCharacter.Length -le 2)
|
while ($delimiterCharacter.Length -le 2)
|
||||||
{
|
{
|
||||||
$callParameterWithDelimeter = $delimiterCharacter + $CallParameter
|
$callParameterWithDelimiter = $delimiterCharacter + $CallParameter
|
||||||
$commandToCheck = "$ActualValue $callParameterWithDelimeter"
|
$commandToCheck = "$ActualValue $callParameterWithDelimiter"
|
||||||
[bool]$succeeded = (ShouldReturnZeroExitCode -ActualValue $commandToCheck).Succeeded
|
[bool]$succeeded = (ShouldReturnZeroExitCode -ActualValue $commandToCheck).Succeeded
|
||||||
|
|
||||||
if ($succeeded)
|
if ($succeeded)
|
||||||
|
|||||||
Reference in New Issue
Block a user