add protection against creating an action/store with no name

This commit is contained in:
Yonatan Schreiber committed 2015-04-15 00:18:24 +03:00
1 parent 80ddea2248
commit 7242c7030f
4 files changed
+13 -6

No files matched your search

-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