We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b25a8 commit 785ead7Copy full SHA for 785ead7
core-codemods/src/main/java/io/codemodder/codemods/SensitiveDataLoggingCodemod.java
@@ -119,6 +119,9 @@ private static Optional<Statement> getSingleStatement(
119
120
@Override
121
public boolean shouldRun() {
122
+ if (!service.isServiceAvailable()) {
123
+ return false;
124
+ }
125
List<Run> runs = sarif.rawDocument().getRuns();
126
return runs != null && !runs.isEmpty() && !runs.get(0).getResults().isEmpty();
127
}
0 commit comments