We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a79ec6 commit 516a3c6Copy full SHA for 516a3c6
src/cli.test.js
@@ -57,11 +57,11 @@ async function getCliInstallCommand(extraArgs) {
57
const fullstderr = [];
58
cli.stdout.on("data", data => {
59
// not guaranteed to be line-by-line in fact these can be Buffers
60
- fullstdout.push(data.toString());
+ fullstdout.push(String(data));
61
});
62
cli.stderr.on("data", data => {
63
64
- fullstderr.push(data.toString());
+ fullstderr.push(String(data));
65
66
cli.on("close", code => {
67
if (code !== 0) {
0 commit comments