Skip to content

Commit

Permalink
Update index.js (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
slavik-lvovsky authored May 3, 2020
1 parent ed5ecb3 commit f940135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator-foodq/generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ module.exports = class extends Generator {
name: 'enjoy',
message: 'Did you enjoy your meal?',
default: (answers) => {
return (answers.hungerLevel.toString() === "A bit hungry" ? "ok" : "michelin");
return (answers.hungerLevel === "A bit hungry" ? "ok" : "michelin");
},
choices: [
{ name: 'Not at all', value: 'no' },
Expand Down

0 comments on commit f940135

Please sign in to comment.