Correct typo from 'Delimeter' to 'Delimiter' (#7625)

This commit is contained in:
Jongwoo Han
2023-05-24 17:14:46 +09:00
committed by GitHub
parent abfa6d4644
commit 5ec1b18115
2 changed files with 4 additions and 4 deletions

View File

@@ -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("|")

View File

@@ -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)