Skip to content

Commit 1b515f2

Browse files
committed
update montblanc
Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
1 parent c010f28 commit 1b515f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

montblanc/arequipa/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ impl Node for Arequipa {
3131

3232
if let Message::Data(data) = message {
3333
let mut file = self.file.lock().await;
34-
file.write_all(data.value.as_bytes())
34+
let final_data = format!("{}\n", data.value);
35+
file.write_all(data.as_bytes())
3536
.await
3637
.map_err(|e| zferror!(ErrorKind::IOError, "{:?}", e))?;
3738
return file

0 commit comments

Comments
 (0)