From 458f7a78f99d14fcf4b778fe27c2c4afd488f724 Mon Sep 17 00:00:00 2001 From: Lior Messinger Date: Wed, 1 Mar 2017 11:44:10 +0200 Subject: [PATCH] upgrade to Node JS 6.x and 7.x Path must be a string --- tasks/dom_munger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/dom_munger.js b/tasks/dom_munger.js index 6ca3472..8b08eb3 100644 --- a/tasks/dom_munger.js +++ b/tasks/dom_munger.js @@ -39,7 +39,7 @@ module.exports = function(grunt) { }); if (option.isPath){ - var relativeTo = path.dirname(grunt.file.expand(f)); + var relativeTo = path.dirname(grunt.file.expand(f)[0]); vals = vals.map(function(val){ return path.join(relativeTo,val); });