function runCommand(cmd) {
  return exec(cmd).catch((err) =>
    Promise.reject(
      err.message && err.message.indexOf('not found') !== -1
        ? new Error(`${cmd.split(' ')[0]} must be installed to upload`)
        : err
    )
  )
}
', '_book/docs/**']

const project = 'docs.react-redux-firebase.com'

/**
Run shell command with error handling.
@param  {string} cmd - Command to run
@returns {Promise} Resolves with stdout of running command
@private