From 255362be61a1c67b8f9b3441049f77c0aa1e8898 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Wed, 19 Apr 2023 16:32:38 +0200 Subject: [PATCH] Silent dotnet new globaljson command --- __tests__/verify-dotnet.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/verify-dotnet.ps1 b/__tests__/verify-dotnet.ps1 index fa4876d..187c715 100755 --- a/__tests__/verify-dotnet.ps1 +++ b/__tests__/verify-dotnet.ps1 @@ -78,7 +78,7 @@ foreach ($version in $Versions) { # Creating temporary global.json file inside e2e-test-csproj dir and setting exact version of .NET inside allows to override default behavior of .NET and run build and tests on that exact version. Write-Host "Creating temporary global.json file for $version .NET version." - & $dotnet new globaljson --sdk-version $version --force + & $dotnet new globaljson --sdk-version $version --force | Out-Null if (!(Test-Path "./global.json")) { throw "An error occured while creating the global.json file. Exit code: $LASTEXITCODE"