mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 01:12:59 +00:00
Write \n end of line character
we actually forgot this, wow....
This commit is contained in:
parent
920cc3feaf
commit
234e2b7978
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class RecordsWriter {
|
|||
|
||||
async write(sample) {
|
||||
const str = JSON.stringify(Object.fromEntries(sample));
|
||||
await write_safe(this.#gzip, str);
|
||||
await write_safe(this.#gzip, str+"\n");
|
||||
}
|
||||
|
||||
async close() {
|
||||
|
|
Loading…
Reference in a new issue