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()
|
||||
$columnsCount = $maxColumnWidths.Count
|
||||
|
||||
$delimeterLine = [String]::Join("|", @("-") * $columnsCount)
|
||||
$delimiterLine = [String]::Join("|", @("-") * $columnsCount)
|
||||
|
||||
$sb = [System.Text.StringBuilder]::new()
|
||||
@($this.Headers) + @($delimeterLine) + $this.Rows | ForEach-Object {
|
||||
@($this.Headers) + @($delimiterLine) + $this.Rows | ForEach-Object {
|
||||
$sb.Append("|")
|
||||
$row = $_.Split("|")
|
||||
|
||||
|
||||
@@ -113,8 +113,8 @@ function ShouldReturnZeroExitCodeWithParam {
|
||||
|
||||
while ($delimiterCharacter.Length -le 2)
|
||||
{
|
||||
$callParameterWithDelimeter = $delimiterCharacter + $CallParameter
|
||||
$commandToCheck = "$ActualValue $callParameterWithDelimeter"
|
||||
$callParameterWithDelimiter = $delimiterCharacter + $CallParameter
|
||||
$commandToCheck = "$ActualValue $callParameterWithDelimiter"
|
||||
[bool]$succeeded = (ShouldReturnZeroExitCode -ActualValue $commandToCheck).Succeeded
|
||||
|
||||
if ($succeeded)
|
||||
|
||||
Reference in New Issue
Block a user