From 0a84ca0b703a09279aaf323f04af21d7470ab4d4 Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Sat, 19 Dec 2015 14:23:00 -0500 Subject: [PATCH] #3405 - more formatting --- tasks/build/css.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/build/css.js b/tasks/build/css.js index 2c53659f6..58453cecd 100644 --- a/tasks/build/css.js +++ b/tasks/build/css.js @@ -29,10 +29,10 @@ var install = require('../config/project/install'), maybeCallback = function() { - if (completeCount === 1) { + tasksCompleted++; + if(tasksCompleted === 2) { callback(); } - completeCount++; }, // shorthand @@ -56,7 +56,7 @@ module.exports = function(callback) { stream, compressedStream, uncompressedStream, - completeCount = 0 + tasksCompleted = 0 ; console.info('Building CSS');