fix(generators): filename should be kebab-case as well

This commit is contained in:
Tim Lancina
2016-01-07 14:35:19 -06:00
parent a11b880ca3
commit 38d728e490

View File

@ -6,7 +6,7 @@ var _ = require('lodash'),
module.exports = Generator;
function Generator(options) {
this.name = options.name;
this.name = _.kebabCase(options.name);
this.type = options.generator;
this.appDirectory = options.appDirectory;
}