diff --git a/src/NoteValidator.ts b/src/NoteValidator.ts index 0690d37..6ee72f3 100644 --- a/src/NoteValidator.ts +++ b/src/NoteValidator.ts @@ -1,7 +1,6 @@ export class NoteValidator { - isValid(note: string): boolean { - if(note < 'A' || note > 'G') - return false + isValid (note: string): boolean { + if (note < 'A' || note > 'G') { return false } return true } }