Added check for null files

This commit is contained in:
David Manning 2014-01-05 10:15:20 -05:00
parent 8a3e80c69c
commit 0928222c4e

View file

@ -11,6 +11,11 @@ module.exports = function (options) {
// file is on object passed in by gulp
// file.contents is always a Buffer
if (file.isNull()) {
return cb(null, file);
}
opts.data = file.contents.toString();
opts.success = function (css) {