<commit_before>
var defaultOptions = require('./defaults.js');
var options        = null;

function requireModule (key) {
  var moduleName = options.modulesData[key].uses;
  var data       = options.modulesData[key];
  var module     = null;

  if(data.isDefault){
    module = require(moduleName);
  } else {
    module = require(process.cwd() + moduleName);
  }

  return module;
}


 /*
    ==========================
    Exports
    ==========================
  */
module.exports = function(options) {
  options = options;

  return {
    requireModule : requireModule
  }
}<commit_msg>Adds getBaseBuildName method in utils<commit_after>
var defaultOptions = null;
var options        = null;
var chalk          = require('chalk');

function requireModule (key) {
  var moduleName = options.modulesData[key].uses;
  var data       = options.modulesData[key];
  var module     = null;

  if(data.isDefault){
    module = require(moduleName);
  } else {
    module = require(process.cwd() + moduleName);
  }

  return module;
}

function getBaseBuildName(){
  return chalk.bgWhite( chalk.black('[ ' + 'Base Build ' + chalk.underline.red('Angular') + ' ]') ) + ' ';
}


/*
  ==========================
  Exports
  ==========================
*/
module.exports = function(options) {
  options        = options;
  defaultOptions = require('./defaults.js')(options);

  return {
    requireModule    : requireModule,
    getBaseBuildName : getBaseBuildName
  }
}
{'fraction_non_alphanumeric': 0.19135802469135801, 'fraction_numerical': 0.0, 'mean_word_length': 3.3165680473372783, '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': '5779837', 'n_tokens_mistral': 448, 'n_tokens_neox': 422, 'n_words': 91}