mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +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;
|
module.exports = Generator;
|
||||||
|
|
||||||
function Generator(options) {
|
function Generator(options) {
|
||||||
this.name = options.name;
|
this.name = _.kebabCase(options.name);
|
||||||
this.type = options.generator;
|
this.type = options.generator;
|
||||||
this.appDirectory = options.appDirectory;
|
this.appDirectory = options.appDirectory;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user