'use strict';
/*jshint node:true*/
var chalk = require('chalk');
var Blueprint   = require('../../lib/models/blueprint');

module.exports = {
  description: 'Generates a helper function.',
  normalizeEntityName: function(entityName) {
    entityName = Blueprint.prototype.normalizeEntityName.apply(this, arguments);

    if (entityName.indexOf('-') === -1) {
      this.ui.write(chalk.yellow('[WARN]: helpers without a dash will not automatically be resolved \n'));
    }
    return entityName;
  }
};

@@ -32,38 +32,8 @@
 e*/%0A
-var chalk = require('chalk');%0A
 var 
@@ -284,163 +284,8 @@
 );%0A%0A
-    if (entityName.indexOf('-') === -1) %7B%0A      this.ui.write(chalk.yellow('%5BWARN%5D: helpers without a dash will not automatically be resolved %5Cn'));%0A    %7D%0A
     

remove non-dash helper warning