Skip to content

Commit

Permalink
Check all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed May 3, 2024
1 parent de5d30d commit d9e577d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Check for vulnerable packages
run: |
set -e # This will cause the script to exit on the first error
OUTPUT=$(dotnet list src/Elmah.Io.Extensions.Logging/Elmah.Io.Extensions.Logging.csproj package --vulnerable)
OUTPUT=$(dotnet list package --vulnerable)
echo "$OUTPUT"
if echo "$OUTPUT" | grep -q 'no vulnerable packages'; then
echo "No vulnerable packages found"
Expand Down

0 comments on commit d9e577d

Please sign in to comment.