From 7e8c99d43a402b9e025a710a00879d557ac5b071 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 11 Aug 2020 21:46:46 +0900 Subject: Enable eslint:recommended and prettier/react --- e2e/lib/Console.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e2e/lib') diff --git a/e2e/lib/Console.ts b/e2e/lib/Console.ts index de61d66..2c128d1 100644 --- a/e2e/lib/Console.ts +++ b/e2e/lib/Console.ts @@ -63,7 +63,7 @@ export class Console { for (const li of Array.from(items)) { if (li.classList.contains("vimvixen-console-completion-title")) { objs.push({ type: "title", text: li.textContent!.trim() }); - } else if ("vimvixen-console-completion-item") { + } else if (li.classList.contains("vimvixen-console-completion-item")) { const highlight = li.classList.contains( "vimvixen-completion-selected" ); -- cgit v1.2.3