<commit_before>const program = require('commander');
const deployment_notifier = require('../index');

exports.run = function(process) {
  program
      .option('-N, --app-name <app name>', 'Application name')
      .option('-T, --latest-deployment-tag <git tag>', 'Name of tag for latest deployment')
      .parse(process.argv);

  console.log('');
  console.log('Suggesting deployment for %j in app %j', program.tagName, program.appName);
  console.log('');

  const notifier = deployment_notifier.create(process.env);
  notifier.suggestDeployment(program.appName, program.tagName)
      .then(() => {
        console.log('Done!');
        process.exit(0);
      })
      .catch(err => {<commit_msg>Fixed bug with tag name property<commit_after>const program = require('commander');
const deployment_notifier = require('../index');

exports.run = function(process) {
  program
      .option('-N, --app-name <app name>', 'Application name')
      .option('-T, --latest-deployment-tag <git tag>', 'Name of tag for latest deployment')
      .parse(process.argv);

  console.log('');
  console.log('Suggesting deployment in app %j (latest deployment: %j)', program.appName, program.latestDeploymentTag);
  console.log('');

  const notifier = deployment_notifier.create(process.env);
  notifier.suggestDeployment(program.appName, program.latestDeploymentTag)
      .then(() => {
        console.log('Done!');
        process.exit(0);
      })
      .catch(err => {
{'fraction_non_alphanumeric': 0.1662106703146375, 'fraction_numerical': 0.0013679890560875513, 'mean_word_length': 3.6741214057507987, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '4014111', 'n_tokens_mistral': 441, 'n_tokens_neox': 436, 'n_words': 98}