gatsby-node.js
function setStatus(activity, status) {
  if (activity && activity.setStatus) {
    activity.setStatus(status);
  } else {
    console.log('Algolia:', status);
  }
}
function setStatus(activity, status) {
  if (activity && activity.setStatus) {
    activity.setStatus(status);
  } else {
    console.log('Algolia:', status);
  }
}
function setStatus ( activity , status ) { if ( activity && activity . setStatus ) { activity . setStatus ( status ) ; } else { console . log ( 'Algolia:' , status ) ; } }
Hotfix the Gatsby reporter to allow setting status (not supported everywhere)

@param {Object} activity reporter
@param {String} status status to report
Hotfix the Gatsby reporter to allow setting status ( not supported everywhere )