<commit_before>import config from '../config/environment';
import Bugsnag from 'bugsnag';

import BugsnagConfiguration from 'ember-cli-bugsnag/utils/bugsnag-configuration';

export default {
  name: 'ember-cli-bugsnag',

  initialize: function() {
    let configVariables = config.bugsnag || {};
    let releaseStage = config.bugsnag.releaseStage || config.environment;
    new BugsnagConfiguration(configVariables, releaseStage).apply(Bugsnag);
  }
};<commit_msg>added appVersion to BugsnagConfig object<commit_after>import config from '../config/environment';
import Bugsnag from 'bugsnag';

import BugsnagConfiguration from 'ember-cli-bugsnag/utils/bugsnag-configuration';

export default {
  name: 'ember-cli-bugsnag',

  initialize: function() {
    let configVariables = config.bugsnag || {};
    let releaseStage = config.bugsnag.releaseStage || config.environment;

    // Set currentRevision value as Bugsnag appVersion
    configVariables.appVersion = config.currentRevision;

    new BugsnagConfiguration(configVariables, releaseStage).apply(Bugsnag);
  }
};
{'fraction_non_alphanumeric': 0.11038353601496725, 'fraction_numerical': 0.0, 'mean_word_length': 5.114285714285714, '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': '3295533', 'n_tokens_mistral': 311, 'n_tokens_neox': 302, 'n_words': 68}