Skip to content

Commit

Permalink
Null for scope parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sambsnyd committed Nov 9, 2023
1 parent 0344767 commit bc35536
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import lombok.Value;
import org.openrewrite.*;
import org.openrewrite.internal.lang.Nullable;
import org.openrewrite.maven.tree.Scope;

@Value
@EqualsAndHashCode(callSuper = true)
Expand Down Expand Up @@ -50,7 +49,7 @@ public TreeVisitor<?, ExecutionContext> getVisitor() {
return new TreeVisitor<Tree, ExecutionContext>() {
final TreeVisitor<?, ExecutionContext> gdi = new org.openrewrite.gradle.search.DependencyInsight(groupIdPattern, artifactIdPattern, null)
.getVisitor();
final TreeVisitor<?, ExecutionContext> mdi = new org.openrewrite.maven.search.DependencyInsight(groupIdPattern, artifactIdPattern, Scope.Test.name(), false)
final TreeVisitor<?, ExecutionContext> mdi = new org.openrewrite.maven.search.DependencyInsight(groupIdPattern, artifactIdPattern, null, false)
.getVisitor();
@Override
public @Nullable Tree visit(@Nullable Tree tree, ExecutionContext ctx) {
Expand Down

0 comments on commit bc35536

Please sign in to comment.