Skip to content

Commit da2dc2c

Browse files
committed
fix: support new status buffer format when the error message is more than 4 lines
1 parent 45872a2 commit da2dc2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/uhk-web/src/app/util/status-buffer-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function splitToErrorBlocks(text: string): string[] {
3636

3737
function transformToErrorBlock(macros: Macro[], block: string): any {
3838
const lines = block.split('\n');
39-
if (lines.length !== 4) {
39+
if (lines.length < 4) {
4040
return escapeHtml(block);
4141
}
4242

0 commit comments

Comments
 (0)