mixu/controlflow — Issue #1: typeo on http://book.mixu.net/ch11.html
Author: gliptak
Created: 2011-11-29 13:46:03+00:00
State: open

There seems to be a small typo on http://book.mixu.net/ch11.html

files.forEach(function(file) {
fs.stat(path+'/'+file, function() {
if(err) { return callback(err); }

would need to be

files.forEach(function(file) {
fs.stat(path+'/'+file, function(err, stats) {
if(err) { return callback(err); }