We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e150342 commit 342606cCopy full SHA for 342606c
app/index.js
@@ -224,7 +224,7 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
224
}], function (answers) {
225
if(answers.socketio) this.filters.socketio = true;
226
if(answers.auth) this.filters.auth = true;
227
- if(answers.odms.length > 0) {
+ if(answers.odms && answers.odms.length > 0) {
228
var models;
229
if(!answers.models) {
230
models = answers.odms[0];
0 commit comments