Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Severity filter not working in case of empty ecosystem value #188

Merged
merged 21 commits into from
Aug 4, 2024
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
Loading