Skip to content

fix: Remove runtime check for subcategories #99

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

machadoit
Copy link
Contributor

The original adding of the require was not justified so we are removing it. It it causing problems as there are some changes on some Patterns (with AI augment) that some patterns that now are not category Security and still have subcategories

@lolgab do you have any ideia why it was added as part of #46 or what it could imply?

The original adding of the require was not justified so we are removing it.
It it causing problems as there are some changes on some Patterns (with AI augment)
that some patterns that now are not category Security and still have subcategories
@lolgab
Copy link
Contributor

lolgab commented Jul 15, 2025

When we added this check it was because in Codacy subcategory was specifically "Security subcategory" and was only possible for Security patterns to have subcategory.

@afsmeira
Copy link
Contributor

So maybe there is code that fails elsewhere if we remove this?

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.

3 participants