mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-29 13:11:10 +08:00
add protection against creating an action/store with no name
This commit is contained in:
1 parent
80ddea2248
commit
7242c7030f
4 files changed
+13
-6
No files matched your search
@@ -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