Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dragazo committed Oct 3, 2023
1 parent bd82324 commit 73cb920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/BeatsBlox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
function parseNote(note) {
if (Array.isArray(note)) return note.map((x) => parseNote(x));
if (note.contents !== undefined) return note.contents.map((x) => parseNote(x));
if (typeof(note) === 'number') return number;
if (typeof(note) === 'number') return note;

if (typeof(note) !== 'string') throw Error(`expected a note, got ${note}`);
const match = note.match(NOTE_REGEX);
Expand Down

0 comments on commit 73cb920

Please sign in to comment.