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

$...BODY not working for Go #3170

Closed
DrewDennison opened this issue May 21, 2021 · 1 comment
Closed

$...BODY not working for Go #3170

DrewDennison opened this issue May 21, 2021 · 1 comment
Assignees
Labels

Comments

@DrewDennison
Copy link
Member

https://semgrep.dev/s/L0bG is not matching for @dgryski but if you use ... in place of $...BODY it matches. He needs to capture the function body for autofix.

See: https://r2c-community.slack.com/archives/C018NJRRCJ0/p1621623452029300 for more context

@aryx
Copy link
Collaborator

aryx commented May 28, 2021

This works now: https://semgrep.dev/s/L0bG?version=develop
Might want to use gofmt on the autofixed code though ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants