Skip to content

Commit

Permalink
Correct processed reset placement
Browse files Browse the repository at this point in the history
  • Loading branch information
drawveloper committed Jan 17, 2013
1 parent f781fee commit c0effa2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/combine.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = function(grunt) {
input = data;

// now process all of out replacements
processed = 0;
processTokens(tokens);

});
Expand Down Expand Up @@ -149,12 +150,10 @@ module.exports = function(grunt) {
fs.writeFile(output, input, 'utf8', function (err) {
if (err) {
clearTimeout(timer);
processed = 0;
grunt.fail.warn("Could not write output '" + output + "' file.");
}
var endtime = (new Date()).getTime();
grunt.log.writeln('Combine task completed in ' + ((endtime - starttime) / 1000) + ' seconds');
processed = 0;
clearTimeout(timer);
done();
});
Expand Down

0 comments on commit c0effa2

Please sign in to comment.