Fix getCallArgumentSelector (#16041)

This commit is contained in:
fisker Cheung authored and GitHub committed 2024-02-18 17:58:26 +08:00
1 parent 2576e11863
commit 57fdd9a780
1 file changed
+1
+1
View File
@@ -1011,6 +1011,7 @@ function iterateCallArgumentsPath(path, iteratee) {
function getCallArgumentSelector(node, index) {
const selectors = [];
if (node.type === "ChainExpression") {
node = node.expression;
selectors.push("expression");
}