Fix getCallArgumentSelector (#16041)
This commit is contained in:
1 parent
2576e11863
commit
57fdd9a780
1 file changed
+1
@@ -1011,6 +1011,7 @@ function iterateCallArgumentsPath(path, iteratee) {
|
||||
function getCallArgumentSelector(node, index) {
|
||||
const selectors = [];
|
||||
if (node.type === "ChainExpression") {
|
||||
node = node.expression;
|
||||
selectors.push("expression");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user