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

Stop hand-rolling RepocopVulnerability type #877

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

NovemberTang
Copy link
Contributor

What does this change?

Remove the need to hand-roll a RepocopVulnerability type. Derive one from the repocop_vulnerabilities interface provided by prisma

Why?

Maintainability. This is part of a larger piece of work to simplify vulnerability calculations in repocop

How has it been verified?

All unit tests still pass, local execution of repocop produces the same output as CODE

@NovemberTang NovemberTang requested review from a team as code owners March 27, 2024 12:06
Copy link
Contributor

@chrislomaxjones chrislomaxjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat 👍

@NovemberTang NovemberTang enabled auto-merge (squash) March 27, 2024 12:24
@NovemberTang NovemberTang merged commit 9449204 into main Mar 27, 2024
2 checks passed
@NovemberTang NovemberTang deleted the nt/vuln-type branch March 27, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants