diff --git a/src/main/java/org/openrewrite/java/dependencies/DependencyVulnerabilityCheck.java b/src/main/java/org/openrewrite/java/dependencies/DependencyVulnerabilityCheck.java index a6a0d8f..2797a8a 100644 --- a/src/main/java/org/openrewrite/java/dependencies/DependencyVulnerabilityCheck.java +++ b/src/main/java/org/openrewrite/java/dependencies/DependencyVulnerabilityCheck.java @@ -246,7 +246,7 @@ public Tree visit(@Nullable Tree tree, ExecutionContext ctx) { if (t == t2) { if(Boolean.TRUE.equals(overrideTransitive)) { t2 = new UpgradeTransitiveDependencyVersion(gaToVb.getKey().getGroupId(), gaToVb.getKey().getArtifactId(), - gaToVb.getValue().getVersion(), null, because) + gaToVb.getValue().getVersion(), null, because, null) .getVisitor() .visitNonNull(t, ctx); if (t != t2) {