<commit_before>const showAnalyticsNotification = require(`./showAnalyticsNotification`)
const EventStorage = require(`./event-storage.js`)

try {
  const ci = require(`ci-info`)
  const eventStorage = new EventStorage()
  const disabled = eventStorage.disabled
  const enabledInConfig = eventStorage.getConfig(`telemetry.enabled`)
  if (enabledInConfig === undefined && !disabled && !ci.isCI) {
    showAnalyticsNotification()
  }
} catch (e) {
  // ignore
}
<commit_msg>fix(telemerty): always show the telemetry notification, fixes… (#16294)<commit_after>const showAnalyticsNotification = require(`./showAnalyticsNotification`)

try {
  const ci = require(`ci-info`)
  const Configstore = require(`configstore`)
  const config = new Configstore(`gatsby`, {}, { globalConfigPath: true })
  const enabledInConfig = config.get(`telemetry.enabled`)

  if (enabledInConfig === undefined && !ci.isCI) {
    showAnalyticsNotification()
  }
} catch (e) {
  // ignore
}

{'fraction_non_alphanumeric': 0.13513513513513514, 'fraction_numerical': 0.005197505197505198, 'mean_word_length': 5.13375796178344, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7239543', 'n_tokens_mistral': 283, 'n_tokens_neox': 275, 'n_words': 63}