From 2fe5861c9c55d0e2ebd6e0957c2e3614454d51e6 Mon Sep 17 00:00:00 2001 From: Alexander Alemayhu Date: Sat, 25 Feb 2023 19:02:48 +0100 Subject: [PATCH] fix: get cloze test passing --- src/lib/parser/Note.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/parser/Note.ts b/src/lib/parser/Note.ts index b093e0ca5..17bb6302d 100644 --- a/src/lib/parser/Note.ts +++ b/src/lib/parser/Note.ts @@ -70,9 +70,7 @@ export default class Note { } isValidClozeNote() { - return ( - this.cloze && this.name && this.name.trim() && this.name.includes('code') - ); + return this.cloze && this.name && this.name.trim(); } isValidInputNote() {