We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caa30eb commit eb0cd9cCopy full SHA for eb0cd9c
1 file changed
tests/helpers/pnpm-helpers.ts
@@ -60,16 +60,14 @@ export async function runCreateLetter(options: {
60
];
61
62
await new Promise<void>((resolve, reject) => {
63
- let output = "";
64
const child = spawn(cmd, args, {
65
stdio: "inherit",
66
cwd: root,
67
shell: false,
68
});
69
child.stdout?.on("id", (id) => {
70
const text = id.toString();
71
- output += text;
72
- process.stdout.write(output);
+ process.stdout.write(text);
73
74
75
child.on("close", (code) =>
@@ -127,7 +125,7 @@ export async function createSupplierData(options: {
127
125
128
126
129
output += text;
130
131
132
133
0 commit comments