docs: function notifySlack ({ channel, text, webhook }) {
    return fetch(webhook, {
      body: JSON.stringify({
        channel,
        text
      }),
      headers: {
        'Content-Type': 'application/json'
      },
      method: 'POST'
    })
      .then(response => response.text())
      .catch(err => {
        logToErrorConsole('Error posting to Slack webhook')
        logToErrorConsole(err)
        return err
      })
  }