Skip to content

Commit

Permalink
Bug/Path Must be a String (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
aminezghidi authored Apr 24, 2020
1 parent e6e8eea commit 15f2685
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/dom_munger.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ module.exports = function(grunt) {
});

if (option.isPath){
var relativeTo = path.dirname(grunt.file.expand(f));
var file = grunt.file.expand(f).toString();
var relativeTo = path.dirname(file);
vals = vals.map(function(val){
return path.join(relativeTo,val);
});
Expand Down

0 comments on commit 15f2685

Please sign in to comment.