Lodash stopped exporting a concat method.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -500,7 +500,7 @@ module.exports = function (grunt) { | ... | @@ -500,7 +500,7 @@ module.exports = function (grunt) { |
500 | replace: false, | 500 | replace: false, |
501 | template: template, | 501 | template: template, |
502 | templateOptions: templateOptions, | 502 | templateOptions: templateOptions, |
503 | files: _.concat([], src, specs), | 503 | files: [].concat(src, specs), |
504 | }; | 504 | }; |
505 | template = require('grunt-template-jasmine-istanbul'); | 505 | template = require('grunt-template-jasmine-istanbul'); |
506 | } | 506 | } |
... | @@ -510,7 +510,7 @@ module.exports = function (grunt) { | ... | @@ -510,7 +510,7 @@ module.exports = function (grunt) { |
510 | templateOptions: templateOptions, | 510 | templateOptions: templateOptions, |
511 | }, | 511 | }, |
512 | all: { | 512 | all: { |
513 | src: _.concat([], | 513 | src: [].concat( |
514 | src, | 514 | src, |
515 | specs | 515 | specs |
516 | ), | 516 | ), | ... | ... |
-
Please register or sign in to post a comment