add protection against creating an action/store with no name

This commit is contained in:
Yonatan Schreiber
2015-04-15 00:18:24 +03:00
parent 80ddea2248
commit 7242c7030f
4 changed files with 13 additions and 6 deletions
+2
View File
@@ -13,6 +13,8 @@ ComponentGenerator.prototype.createComponentFile = function createComponentFile(
this.es6 = this.options.es6;
console.log('Creating a component');
this.generateComponentTestAndStyle(
'Component',
'spec/Component',