Fix typos

This commit is contained in:
IvanZosimov 2023-04-19 15:41:28 +02:00
parent a79ce57e6b
commit e8ac21d503
1 changed files with 2 additions and 4 deletions

View File

@ -28,9 +28,7 @@ if ($CheckNugetConfig.IsPresent -and !(Test-Path "../nuget.config")) {
throw "The nuget.config file is not generated correctly." throw "The nuget.config file is not generated correctly."
} }
$PatternsCount = $PatternsList.Count Write-Host "These patterns were supplied to the script: $($PatternsList -join ', ')."
Write-Host "Those patterns were supplied to the script: $($PatternsList -join ', ')."
$dotnet = Get-Command dotnet | Select-Object -First 1 | ForEach-Object { $_.Path } $dotnet = Get-Command dotnet | Select-Object -First 1 | ForEach-Object { $_.Path }
Write-Host "Found: '$dotnet'" Write-Host "Found: '$dotnet'"
@ -57,9 +55,9 @@ if ( $InstalledVersionCount -ne 0)
throw "An unexpected version of Dotnet is found on the machine, please check the correctness of the -Patterns input." throw "An unexpected version of Dotnet is found on the machine, please check the correctness of the -Patterns input."
} }
Write-Host "Changing directory to the ./__tests__/e2e-test-csproj"
$workingDir = Get-Location $workingDir = Get-Location
$testProjectDir = "./__tests__/e2e-test-csproj" $testProjectDir = "./__tests__/e2e-test-csproj"
Write-Host "Changing directory to the $testProjectDir"
Set-Location $testProjectDir Set-Location $testProjectDir
$targetFrameworkVersionMap = @{ $targetFrameworkVersionMap = @{