tasks/transfo.js
function(next) {
          Q.all(sources.map(function(src) {
            return Q.nfcall(fs.stat, src)
            .then(function(stat) {
              statSources[src] = stat;
            });
          }))
          .then(function() { next(); })
          .fail(function(err) {next(err);});
        }
function(next) {
          Q.all(sources.map(function(src) {
            return Q.nfcall(fs.stat, src)
            .then(function(stat) {
              statSources[src] = stat;
            });
          }))
          .then(function() { next(); })
          .fail(function(err) {next(err);});
        }
function ( next ) { Q . all ( sources . map ( function ( src ) { return Q . nfcall ( fs . stat , src ) . then ( function ( stat ) { statSources [ src ] = stat ; } ) ; } ) ) . then ( function ( ) { next ( ) ; } ) . fail ( function ( err ) { next ( err ) ; } ) ; }
All sources stats
All sources stats