New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
stdin
and stdout
cannot be process.stdin
or process.stdout
..?
#308
Comments
Hi @busticated and thanks for the issue. It looks like the merge/mixin logic here needs to take into account that Changing the if (isObject(existing.value) && existing.value !== desc.value) { ... } A PR with this change is welcome, otherwise, someone here will try to get it fixed as soon as possible. In the meantime, are you able to write your tests without passing the //edit: btw... huge fan of Particle 馃榾 ... I participated in the original Spark kickstarter, but haven't actively kept up with the latest changes, but looking through the GitHub org, it's great to see all of the Node.js packages. |
Fixes #308 - don't mangle `stdin` and `stdout` overrides
hi there 馃憢
thanks for the awesome lib 馃檹
i ran into some odd behavior and i'm wondering what's up. using this script:
...i get the following output:
when i delete
console.log(':::: Running repro script....');
, i get:when i don't pass in
stdin
(e.g.new Enquirer({ stdout });
), i get:...and the process hangs until i press
CTRL+C
.ultimately, i'm trying to wrap
enquirer
such that a series of ui helpers all use the samestdin
,stdout
, andstderr
in order to make testing easier, etc.my env info:
v10.15.6
v12.18.3
v2.3.6
The text was updated successfully, but these errors were encountered: