We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 377bf1d commit 6844fc7Copy full SHA for 6844fc7
test/utils.mts
@@ -70,8 +70,8 @@ export async function invokeNpm(
70
return {
71
status: false,
72
code: e?.['code'],
73
- stdout: toAsciiSafeString(normalizeLogSymbols(e?.['stdout'] ?? '')),
74
- stderr: toAsciiSafeString(normalizeLogSymbols(e?.['stderr'] ?? '')),
+ stdout: toAsciiSafeString(normalizeLogSymbols(e?.['stdout']?.trim() ?? '')),
+ stderr: toAsciiSafeString(normalizeLogSymbols(e?.['stderr']?.trim() ?? '')),
75
}
76
77
0 commit comments