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
-1
View File
@@ -82,7 +82,6 @@ Generator.prototype.testTemplate = function (src, dest) {
};
Generator.prototype.stylesTemplate = function (src, dest) {
console.log(src);
yeoman.generators.Base.prototype.template.apply(this, [
src + this.stylesSuffix,
path.join(this.options.stylesPath, dest) + this.stylesSuffix