Skip to content

Commit

Permalink
Merge pull request #32 from todthomson/remove-dotnet-list-package--in…
Browse files Browse the repository at this point in the history
…clude-transitive

removes --include-transitive as it's noisy and...
  • Loading branch information
Tod Thomson committed Apr 27, 2023
2 parents f7a9920 + 18a0699 commit dc81fb3
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 dc81fb3

Please sign in to comment.