<commit_before>'use strict';
var util = require('util');
var yeoman = require('yeoman-generator');

var ModuleGenerator = module.exports = function ModuleGenerator() {
  yeoman.generators.NamedBase.apply(this, arguments);
};

util.inherits(ModuleGenerator, yeoman.generators.NamedBase);

ModuleGenerator.prototype.module = function module() {
  this.copy('module.js', 'js/modules/' + this.name + '.js');
};

ModuleGenerator.prototype.test = function test() {
  this.copy('example.spec.js', 'test/specs/' + this.name + '.spec.js');
};<commit_msg>Small fix to module sub-generator.<commit_after>'use strict';
var util   = require('util');
var yeoman = require('yeoman-generator');

var ModuleGenerator = module.exports = function ModuleGenerator() {
  yeoman.generators.NamedBase.apply(this, arguments);
};

util.inherits(ModuleGenerator, yeoman.generators.NamedBase);

ModuleGenerator.prototype.module = function module() {
  this.copy('module.js', 'js/modules/' + this.name + '.js');
};

ModuleGenerator.prototype.test = function test() {
  this.template('example.spec.js', 'test/specs/' + this.name + '.spec.js');
};
{'fraction_non_alphanumeric': 0.1718889883616831, 'fraction_numerical': 0.0, 'mean_word_length': 5.46242774566474, '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': '1625941', 'n_tokens_mistral': 338, 'n_tokens_neox': 337, 'n_words': 66}