Skip to content

Commit

Permalink
remove source files check
Browse files Browse the repository at this point in the history
this should be handled by grunt itself
  • Loading branch information
sindresorhus committed Feb 6, 2015
1 parent 12bb4c8 commit 915373a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tasks/sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ module.exports = function (grunt) {
async.eachLimit(this.files, concurrencyCount, function (file, next) {
var src = file.src[0];

if (typeof src !== 'string') {
src = file.orig.src[0];
}

if (!grunt.file.exists(src)) {
grunt.log.warn('Source file "' + src + '" not found.');
return next();
}

if (path.basename(src)[0] === '_') {
return next();
}
Expand Down

0 comments on commit 915373a

Please sign in to comment.