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