We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v22.14.0
Linux think 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
No response
node --experimental-transform-types index.ts
try { execSync('node -e \'console.log("new log");console.error("new err");process.exit(1)\'') } catch (error) { const err = error as ExecException; console.log(err.stdout); }
always
print "new log" is expected cuz ExecException.stdout is a string type.
ExecException.stdout
printed <Buffer 6e 65 77 20 6c 6f 67 0a>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
v22.14.0
Platform
Subsystem
No response
What steps will reproduce the bug?
node --experimental-transform-types index.ts
How often does it reproduce? Is there a required condition?
always
What is the expected behavior? Why is that the expected behavior?
print "new log" is expected cuz
ExecException.stdout
is a string type.What do you see instead?
printed <Buffer 6e 65 77 20 6c 6f 67 0a>
Additional information
No response
The text was updated successfully, but these errors were encountered: