Skip to content

fix: Remove runtime check for subcategories - #99

Open
machadoit wants to merge 1 commit into
masterfrom
remove-subcategory-check
Open

fix: Remove runtime check for subcategories#99
machadoit wants to merge 1 commit into
masterfrom
remove-subcategory-check

Conversation

@machadoit

Copy link
Copy Markdown
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 安全 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 安全 and still have subcategories
@lolgab

lolgab commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

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

@afsmeira

Copy link
Copy Markdown
Contributor

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

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

3 participants