default_reporter.js
function(state, error)
  {
    if (error)
    {
      console.log('\n## Finished with errors:\n');
      console.log('```');
      console.log(JSON.stringify(error, null, 2));
      console.log('```');
    }

    console.log('\n## Final State:\n');
    console.log('```');
    console.log(JSON.stringify(sortKeys(state), null, 2));
    console.log('```');
  }
function(state, error)
  {
    if (error)
    {
      console.log('\n## Finished with errors:\n');
      console.log('```');
      console.log(JSON.stringify(error, null, 2));
      console.log('```');
    }

    console.log('\n## Final State:\n');
    console.log('```');
    console.log(JSON.stringify(sortKeys(state), null, 2));
    console.log('```');
  }
function ( state , error ) { if ( error ) { console . log ( '\n## Finished with errors:\n' ) ; console . log ( '```' ) ; console . log ( JSON . stringify ( error , null , 2 ) ) ; console . log ( '```' ) ; } console . log ( '\n## Final State:\n' ) ; console . log ( '```' ) ; console . log ( JSON . stringify ( sortKeys ( state ) , null , 2 ) ) ; console . log ( '```' ) ; }
Handles reports with starting command's execution

@param   {object} state - final state
@param   {object|null} error - optional error object
@returns {void}
Handles reports with starting command s execution