Skip to content

Commit 6844fc7

Browse files
committed
Fix tests in ci
1 parent 377bf1d commit 6844fc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/utils.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ export async function invokeNpm(
7070
return {
7171
status: false,
7272
code: e?.['code'],
73-
stdout: toAsciiSafeString(normalizeLogSymbols(e?.['stdout'] ?? '')),
74-
stderr: toAsciiSafeString(normalizeLogSymbols(e?.['stderr'] ?? '')),
73+
stdout: toAsciiSafeString(normalizeLogSymbols(e?.['stdout']?.trim() ?? '')),
74+
stderr: toAsciiSafeString(normalizeLogSymbols(e?.['stderr']?.trim() ?? '')),
7575
}
7676
}
7777
}

0 commit comments

Comments
 (0)