We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c010f28 commit 1b515f2Copy full SHA for 1b515f2
montblanc/arequipa/src/lib.rs
@@ -31,7 +31,8 @@ impl Node for Arequipa {
31
32
if let Message::Data(data) = message {
33
let mut file = self.file.lock().await;
34
- file.write_all(data.value.as_bytes())
+ let final_data = format!("{}\n", data.value);
35
+ file.write_all(data.as_bytes())
36
.await
37
.map_err(|e| zferror!(ErrorKind::IOError, "{:?}", e))?;
38
return file
0 commit comments