lib/reporters/ci-reporter.js
function reportRunningTask(taskname) {
    const icon = require('./ci-icon');
    function done(success) {
        success
            ? console.log(`${icon.success()} ${taskname}`)
            : console.log(`${icon.error()} ${taskname}`);
    }

    return done;
}
function reportRunningTask(taskname) {
    const icon = require('./ci-icon');
    function done(success) {
        success
            ? console.log(`${icon.success()} ${taskname}`)
            : console.log(`${icon.error()} ${taskname}`);
    }

    return done;
}
function reportRunningTask ( taskname ) { const icon = require ( './ci-icon' ) ; function done ( success ) { success ? console . log ( ` ${ icon . success ( ) } ${ taskname } ` ) : console . log ( ` ${ icon . error ( ) } ${ taskname } ` ) ; } return done ; }
report a task that is executing and may take some time
@param {string} taskname
@returns {function(boolean): void} done - returns a function to be called when task has finished processing
done(true) -> report success
done(false) -> report failure
report a task that is executing and may take some time