Skip to content

Commit

Permalink
Fixed minor typo in console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
carltonLND authored Aug 30, 2023
1 parent f603467 commit c81841e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/soundfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ class SoundFile {
if (s === 'restart' || s === 'sustain' || s === 'untildone') {
this.mode = s;
} else {
throw 'Invalid play mode. Must be either "restart", "sustain" or "untildone';
throw 'Invalid play mode. Must be either "restart", "sustain" or "untildone"';
}
}

Expand Down

0 comments on commit c81841e

Please sign in to comment.