Skip to content

Commit

Permalink
refactor: optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji committed Feb 10, 2025
1 parent 8a1e300 commit 40950ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/no-ref-as-operand.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 40950ad

Please sign in to comment.