Skip to content

Commit ad07c81

Browse files
committed
add newline for plain text for sync arbiter code
1 parent bc5185d commit ad07c81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/logsource_port.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ fn get_source_content(
126126
}
127127
}
128128
} else {
129-
Bytes::from(stream_entry.line)
129+
let mut vec = stream_entry.line.into_bytes();
130+
vec.put_u8('\n' as u8);
131+
Bytes::from(vec)
130132
}
131133
}),
132134
)

0 commit comments

Comments
 (0)