You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can't get a true/false out of the select choices. I realise you could use the confirm prompt in many cases, but in my case I want a yes/no/quit dialog. However false or 0 returns 1 as the selection.
selene:social-graph-2 tomchambers$ node tools/test.js
✔ do you like ice cream › No
{ test: 1 }
selene:social-graph-2 tomchambers$ node tools/test.js
✔ do you like ice cream › Yes
{ test: true }
selene:social-graph-2 tomchambers$
The text was updated successfully, but these errors were encountered:
Describe the bug
You can't get a true/false out of the select choices. I realise you could use the confirm prompt in many cases, but in my case I want a yes/no/quit dialog. However
false
or0
returns 1 as the selection.To Reproduce
Results
The text was updated successfully, but these errors were encountered: