Closed imranMnts closed 2 years ago
@imranMnts Thanks for the bug report. Would you mind taking a shot at a PR?
This would be a good opportunity for a regression test as well.
@jamonholmgren I created this PR https://github.com/infinitered/gluegun/pull/754
can you please have a look?
@jamonholmgren
Can we have an update, please?
:tada: This issue has been resolved in version 5.1.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Describe the bug
toolbox.prompt.ask
overwrites all itemsTo Reproduce
Issue :
the first time, we put
1
as name input, and2
the second timeResult
print:
result: [ { name: '2', yesno: false }, { name: '2', yesno: false } ]
Expected behavior print:
result: [ { name: '1' }, { name: '2' } ]
Doctor (please complete the following information):