Skip to content

Commit

Permalink
Merge pull request #271 from hthief/master
Browse files Browse the repository at this point in the history
Path implementation changed in node v6 to assert inputs as strings
  • Loading branch information
vladikoff authored Sep 1, 2016
2 parents 3c13094 + 11e6558 commit f806e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/cssmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = function (grunt) {
var compiled = '';

options.target = file.dest;
options.relativeTo = path.dirname(availableFiles[0]);
options.relativeTo = path.dirname(availableFiles[0] || '');

try {
compiled = new CleanCSS(options).minify(availableFiles);
Expand Down

0 comments on commit f806e2d

Please sign in to comment.