From 6075d692589ca4ff5b444f875398859767f5ca12 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Mon, 29 Jun 2015 22:37:33 +0200 Subject: [PATCH] fix: ensure files passed to karma are flat Closes #142 --- tasks/grunt-karma.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/grunt-karma.js b/tasks/grunt-karma.js index 2beed1a..8614c7b 100644 --- a/tasks/grunt-karma.js +++ b/tasks/grunt-karma.js @@ -88,8 +88,7 @@ module.exports = function (grunt) { return obj }) })) - - data.files = _.flatten(data.files) + data.files = _.flattenDeep(data.files) } // Allow the use of templates in preprocessors