File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
plugins/codemodder-plugin-pmd/src
main/java/io/codemodder/providers/sarif/pmd
test/java/io/codemodder/providers/sarif/pmd Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public PmdModule(
3535 protected boolean isResponsibleFor (final Class <? extends CodeChanger > codemod ) {
3636 Codemod annotation = codemod .getAnnotation (Codemod .class );
3737 String id = annotation .id ();
38- return id .startsWith ("semgrep:" ) || id .startsWith ("pixee:" );
38+ return id .startsWith ("semgrep:" ) || id .startsWith ("pixee:" ) || id . startsWith ( "pmd:" ) ;
3939 }
4040
4141 @ Override
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public abstract class MultipleDeclarations {
4646 }
4747
4848 @ Codemod (
49- id = "pmd-test :java/my-pmd-codemod" ,
49+ id = "pmd:java/my-pmd-codemod" ,
5050 importance = Importance .HIGH ,
5151 reviewGuidance = ReviewGuidance .MERGE_AFTER_CURSORY_REVIEW )
5252 static class UsesPmdCodemod extends SarifPluginJavaParserChanger <VariableDeclarator > {
You can’t perform that action at this time.
0 commit comments