tasks/info.js
function dumpFiles(title, fn) {
            var matches = fn();
            if (matches.length) {
                log.info("");
                log.info((title + ":")['green']);
                for (var i = 0; i < matches.length; i++) {
                    if (matches[i].src === matches[i].dst) {
                        log.info(matches[i].dst);
                    } else {
                        log.info(matches[i].dst + ' (from ' + matches[i].src + ')');
                    }
                }
            }
        }
function dumpFiles(title, fn) {
            var matches = fn();
            if (matches.length) {
                log.info("");
                log.info((title + ":")['green']);
                for (var i = 0; i < matches.length; i++) {
                    if (matches[i].src === matches[i].dst) {
                        log.info(matches[i].dst);
                    } else {
                        log.info(matches[i].dst + ' (from ' + matches[i].src + ')');
                    }
                }
            }
        }
function dumpFiles ( title , fn ) { var matches = fn ( ) ; if ( matches . length ) { log . info ( "" ) ; log . info ( ( title + ":" ) [ 'green' ] ) ; for ( var i = 0 ; i < matches . length ; i ++ ) { if ( matches [ i ] . src === matches [ i ] . dst ) { log . info ( matches [ i ] . dst ) ; } else { log . info ( matches [ i ] . dst + ' (from ' + matches [ i ] . src + ')' ) ; } } } }
List files returned by the given listing function on screen.
List files returned by the given listing function on screen .