From 7b7c313056210a1daf14b34edaff379a9eb51534 Mon Sep 17 00:00:00 2001 From: Yuichiro Yamashita Date: Thu, 23 Feb 2023 23:45:50 +0900 Subject: [PATCH] fix lint --- src/compiler/compile/Component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/Component.ts b/src/compiler/compile/Component.ts index e56aef888b..f7d8e8f568 100644 --- a/src/compiler/compile/Component.ts +++ b/src/compiler/compile/Component.ts @@ -802,7 +802,7 @@ export default class Component { enter(node: Node, parent: Node) { if (node.type === 'Identifier' && parent.type !== 'MemberExpression' && - (parent.type !== "AssignmentPattern" || parent.right !== node)) { + (parent.type !== 'AssignmentPattern' || parent.right !== node)) { names.push(node.name); } }