Properly parse CR+LF on Windows when generating manifests file
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -299,7 +299,7 @@ module.exports = function(grunt) { | ... | @@ -299,7 +299,7 @@ module.exports = function(grunt) { |
299 | // translate this manifest | 299 | // translate this manifest |
300 | jsManifests += ' \'' + basename(filename, '.m3u8') + '\': ' + | 300 | jsManifests += ' \'' + basename(filename, '.m3u8') + '\': ' + |
301 | grunt.file.read(abspath) | 301 | grunt.file.read(abspath) |
302 | .split('\n') | 302 | .split(/\r\n|\n/) |
303 | 303 | ||
304 | // quote and concatenate | 304 | // quote and concatenate |
305 | .map(function(line) { | 305 | .map(function(line) { | ... | ... |
-
Please register or sign in to post a comment