diff --git a/lib/rules/no-ref-as-operand.js b/lib/rules/no-ref-as-operand.js index 1a0d6ac4f..f3b42eaa9 100644 --- a/lib/rules/no-ref-as-operand.js +++ b/lib/rules/no-ref-as-operand.js @@ -138,7 +138,7 @@ module.exports = { contextReferenceIds.has(emit.member.object) ) { // verify setup(props,context) {context.emit()} - emit.member.parent.arguments + node.arguments .filter((node) => node.type === 'Identifier') .forEach((node) => { reportIfRefWrapped(node)