Skip to content

Commit

Permalink
fix: get cloze test passing
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu committed Feb 25, 2023
1 parent 53d27ec commit 2fe5861
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/parser/Note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2fe5861

Please sign in to comment.