diff --git a/lib/block.js b/lib/block.js index d37cb47..8702a41 100644 --- a/lib/block.js +++ b/lib/block.js @@ -67,7 +67,7 @@ Block.prototype.build = function () { if (ext === 'js') { return util.format('%s', this.indent, replacement); } else if (ext === 'css') { - return util.format('%s', this.indent, replacement); + return util.format('%s', this.indent, replacement); } return this.indent + replacement; }.bind(this)); @@ -75,7 +75,7 @@ Block.prototype.build = function () { Block.prototype.compile = function (tasks) { var task = tasks[this.taskName]; - + if (task) { this.replacements = task.src; this.template = task.tpl; diff --git a/test/buffer.js b/test/buffer.js index bf50b69..0e09f07 100644 --- a/test/buffer.js +++ b/test/buffer.js @@ -72,7 +72,7 @@ describe('Buffer mode', function () { it('should work with inline html', function (done) { var fixture = ''; - var expected = ''; + var expected = ''; var stream = plugin({css: 'css/combined.css'}); compare(new Buffer(fixture), expected, stream, done); diff --git a/test/expected.html b/test/expected.html index 1f2874f..aa29819 100644 --- a/test/expected.html +++ b/test/expected.html @@ -4,7 +4,7 @@ Test file - + diff --git a/test/stream.js b/test/stream.js index 671d1e4..bc0df6b 100644 --- a/test/stream.js +++ b/test/stream.js @@ -79,7 +79,7 @@ describe('Stream mode', function () { it('should work with inline html', function (done) { var fixture = ''; - var expected = ''; + var expected = ''; var stream = plugin({css: 'css/combined.css'}); compare(stringToStream(fixture), expected, stream, done);