Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiemonge committed Aug 12, 2014
1 parent a4c9118 commit cf8a7f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ module.exports = yeoman.generators.Base.extend({
}]
}, {
when: function (answers) {
return answers.features.indexOf('includeSass') !== -1;
return answers && answers.feature &&
answers.features.indexOf('includeSass') !== -1;
},
type: 'confirm',
name: 'libsass',
Expand Down

0 comments on commit cf8a7f1

Please sign in to comment.