Skip to content

Commit

Permalink
chore: fix the bad condition for match stage call detection
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshusinghs committed Jan 16, 2025
1 parent 49b2578 commit 4dee85a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class MatchStageParser(private val parseFilters: (PsiElement) -> List<Node<PsiEl

companion object {
fun isMatchStageCall(method: PsiMethod): Boolean {
return method.containingClass?.qualifiedName != AGGREGATE_FQN && method.name == "match"
return method.containingClass?.qualifiedName == AGGREGATE_FQN && method.name == "match"
}
}
}

0 comments on commit 4dee85a

Please sign in to comment.