Skip to content

Commit 43e0747

Browse files
committed
allow codemodder namespace to activate semgrep module
1 parent 7380b95 commit 43e0747

File tree

1 file changed

+1
-1
lines changed
  • plugins/codemodder-plugin-semgrep/src/main/java/io/codemodder/providers/sarif/semgrep

1 file changed

+1
-1
lines changed

plugins/codemodder-plugin-semgrep/src/main/java/io/codemodder/providers/sarif/semgrep/SemgrepModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public SemgrepModule(
6262
protected boolean isResponsibleFor(final Class<? extends CodeChanger> codemod) {
6363
Codemod annotation = codemod.getAnnotation(Codemod.class);
6464
String id = annotation.id();
65-
return id.startsWith("semgrep:") || id.startsWith("pixee:");
65+
return id.startsWith("semgrep:") || id.startsWith("pixee:") || id.startsWith("codemodder:");
6666
}
6767

6868
@Override

0 commit comments

Comments
 (0)