mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
add protection against creating an action/store with no name
This commit is contained in:
@@ -13,6 +13,8 @@ ComponentGenerator.prototype.createComponentFile = function createComponentFile(
|
||||
|
||||
this.es6 = this.options.es6;
|
||||
|
||||
console.log('Creating a component');
|
||||
|
||||
this.generateComponentTestAndStyle(
|
||||
'Component',
|
||||
'spec/Component',
|
||||
|
||||
Reference in New Issue
Block a user