From 5762d096f54ecc745b2a5dde70fd5dac6c32182e Mon Sep 17 00:00:00 2001 From: Bert Date: Mon, 30 Oct 2023 15:55:41 +0100 Subject: [PATCH] remove nuget.config check --- eng/CheckNugetStatus.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/eng/CheckNugetStatus.yml b/eng/CheckNugetStatus.yml index 18a0c60c7..036452e14 100644 --- a/eng/CheckNugetStatus.yml +++ b/eng/CheckNugetStatus.yml @@ -24,9 +24,6 @@ steps: Write-Information -MessageData "sourcePath='${{parameters.sourcePath}}'" -InformationAction Continue Write-Information -MessageData "nugetConfig='${{parameters.nugetConfig}}'" -InformationAction Continue Write-Information -MessageData "#########################################" -InformationAction Continue - if (!(Test-Path "${{parameters.nugetConfig}}" -PathType Leaf)) { - Write-Host "##vso[task.LogIssue type=error;]nuget config file not found." - } if (!(Test-Path "${{parameters.sourcePath}}" -PathType Container)) { Write-Host "##vso[task.LogIssue type=error;]sourcePath does not exist." } @@ -36,7 +33,7 @@ steps: $projectFiles = Get-ChildItem -Path ${{parameters.sourcePath}} -Filter *.csproj -Recurse foreach ($project in $projectFiles) { try { - $outdatedList = dotnet list $project package --outdated --include-transitive --source https://api.nuget.org/v3/index.json --config ${{parameters.nugetConfig}} + $outdatedList = dotnet list $project package --outdated --include-transitive --source https://api.nuget.org/v3/index.json if ($LASTEXITCODE -gt 0) { Throw "The command exited with error code: $lastexitcode" }