mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(generators): filename should be kebab-case as well
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user