if (failures.length) {
    logger.error(`Exiting with failed build errors.  ${msg.join('\n')}`);
    throw new Error(msg.join('\n'));
  }