Browse Source

Merge pull request #329 from ntadej/karma-fix

Properly parse CR+LF on Windows when generating manifests file
pull/6/head
David LaPalomento 10 years ago
parent
commit
af92753d8f
  1. 2
      Gruntfile.js

2
Gruntfile.js

@ -300,7 +300,7 @@ module.exports = function(grunt) {
// translate this manifest
jsManifests += ' \'' + basename(filename, '.m3u8') + '\': ' +
grunt.file.read(abspath)
.split('\n')
.split(/\r\n|\n/)
// quote and concatenate
.map(function(line) {

Loading…
Cancel
Save