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

Rule not finding the code #696

Open
rajeshchinnam opened this issue Sep 20, 2024 · 0 comments
Open

Rule not finding the code #696

rajeshchinnam opened this issue Sep 20, 2024 · 0 comments

Comments

@rajeshchinnam
Copy link

Hi

I have very simple rule

test_method_match = Rule(
name="test_method_match",
query='cs @test void :[method_name]IfFeatureIsDisabled() { :[body] }',
replace_node="*",
replace="",
is_seed_rule=True
)

and expected to match the code

@test
void shouldGetRandomValueIfFeatureIsDisabled() {
// Test code here
}

but its not finding the same rule and code matching on https://comby.live/
can you please help me what could be the issue

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

No branches or pull requests

1 participant