Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Last-Order committed May 19, 2020
1 parent c613841 commit 5193d75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minyami",
"version": "3.0.7",
"version": "3.0.8",
"description": "",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/core/m3u8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class M3U8 {
* 此处复制了一次字符串避免此情况
* See also: https://github.com/nodejs/help/issues/711
*/
line = line.split('').join('');
line = line.split('').join('').trim();
if (line.startsWith('#')) {
// it is a m3u8 property
if (line.startsWith('#EXT-X-KEY')) {
Expand Down

0 comments on commit 5193d75

Please sign in to comment.