From 18a0699f074e8c335c58a67175fb8bac25c5f344 Mon Sep 17 00:00:00 2001 From: Tod Thomson Date: Thu, 27 Apr 2023 10:49:21 +1000 Subject: [PATCH] removes --include-transitive as it's noisy and... - it's not something we can fix - as it's up to our upstream packages to fix these - and we can run this explicitly locally if we care to --- Build.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Build.ps1 b/Build.ps1 index a3220e0..2728576 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -37,15 +37,15 @@ Write-Output "build: Restoring .NET packages (--no-cache)" if($LASTEXITCODE -ne 0) { exit 2 } Write-Output "build: Checking for vulnerable packages..." -& dotnet list package --vulnerable --include-transitive +& dotnet list package --vulnerable if($LASTEXITCODE -ne 0) { exit 3 } Write-Output "Checking for deprecated packages..." -& dotnet list package --deprecated --include-transitive +& dotnet list package --deprecated if($LASTEXITCODE -ne 0) { exit 4 } Write-Output "Checking for outdated packages..." -& dotnet list package --outdated --include-transitive +& dotnet list package --outdated if($LASTEXITCODE -ne 0) { exit 5 } Write-Output "build: Testing project"