Skip to content

Commit

Permalink
Merge pull request #23 from manonthemat/master
Browse files Browse the repository at this point in the history
use of console.error in "each" problem
  • Loading branch information
bulkan committed Dec 23, 2015
2 parents d1066fb + 92a0fcf commit a23a095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/each/solution/solution.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ async.each(process.argv.slice(2), function(item, done){
done(err);
});
},
function done(err){
if(err) console.log(err);
function(err){
if(err) console.error(err);
});

0 comments on commit a23a095

Please sign in to comment.