Skip to content

Commit

Permalink
fix: Severity filter not working in case of empty ecosystem value (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalnagar committed Aug 4, 2024
1 parent c3a37a1 commit f30d072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetch-alerts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const fetchAlerts = async (
repo: repositoryName,
state: 'open',
severity,
ecosystem,
ecosystem: ecosystem.length > 0 ? ecosystem : undefined,
per_page: count,
})
const alerts: Alert[] = response.data.map((dependabotAlert) =>
Expand Down

0 comments on commit f30d072

Please sign in to comment.