Skip to content

Commit

Permalink
Remove the extra if check
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Saronson committed Dec 8, 2020
1 parent a5ff9f6 commit 5620e48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/demux/id3.js
Expand Up @@ -186,10 +186,9 @@ class ID3 {
return ID3._decodePrivFrame(frame);
} else if (frame.type[0] === 'W') {
return ID3._decodeURLFrame(frame);
} else if (frame.type) {
} else {
return ID3._decodeTextFrame(frame);
}
return undefined;
}

static _readTimeStamp (timeStampFrame) {
Expand Down

0 comments on commit 5620e48

Please sign in to comment.