From 8ead13bd59d39d351d2d5b4449f4f3970b34ea4d Mon Sep 17 00:00:00 2001 From: filip mertens Date: Sat, 9 Sep 2023 11:12:16 +0200 Subject: [PATCH] lint --- apps/remix-ide/src/app/plugins/parser/code-parser.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/plugins/parser/code-parser.tsx b/apps/remix-ide/src/app/plugins/parser/code-parser.tsx index 9f69ffc1ac..14a1de8400 100644 --- a/apps/remix-ide/src/app/plugins/parser/code-parser.tsx +++ b/apps/remix-ide/src/app/plugins/parser/code-parser.tsx @@ -477,7 +477,7 @@ export class CodeParser extends Plugin { */ async definitionAtPosition(position: number) { const nodes = await this.nodesAtPosition(position) - let nodeDefinition = { + const nodeDefinition = { 'ast': null, 'parser': null } @@ -528,7 +528,7 @@ export class CodeParser extends Plugin { } if (nodeDefinition.ast && !nodeDefinition.parser) { - return nodeDefinition.ast + return nodeDefinition.ast }