Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Silent dotnet new globaljson command
IvanZosimov committed Apr 19, 2023
1 parent 50b46b3 commit 255362b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __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"

0 comments on commit 255362b

Please sign in to comment.