Skip to content

Commit

Permalink
removes --include-transitive as it's noisy and...
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Tod Thomson committed Apr 27, 2023
1 parent f7a9920 commit 18a0699
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 18a0699

Please sign in to comment.