Skip to content

Commit

Permalink
Merge pull request sintaxi#548 from jvandemo/master
Browse files Browse the repository at this point in the history
Replace async.eachLimit with async.each to fix sintaxi#538
  • Loading branch information
sintaxi committed Apr 4, 2016
2 parents 0b8e8c3 + 8f33f72 commit 9b9bff1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,11 @@ exports.compile = function(projectPath, outputPath, callback){
if(err) console.log(err)

helpers.ls(setup.publicPath, function(err, results){
async.eachLimit(results, 72, compileFile, function(err){
async.each(results, compileFile, function(err){
if(err){
callback(err)
}else{
async.eachLimit(results, 72, copyFile, function(err){
async.each(results, copyFile, function(err){
setup.config['harp_version'] = pkg.version
delete setup.config.globals
callback(null, setup.config)
Expand Down

0 comments on commit 9b9bff1

Please sign in to comment.