(filePath, obj)
| 114 | } |
| 115 | |
| 116 | function appendLine(filePath, obj) { |
| 117 | const line = jsonlLineForWrite(obj); |
| 118 | fs.appendFileSync(filePath, line, { encoding: 'utf8', mode: PRIVATE_FILE_MODE }); |
| 119 | bestEffortChmod(filePath, PRIVATE_FILE_MODE); |
| 120 | } |
| 121 | |
| 122 | function resolveMaxJsonlLineBytes(env = process.env) { |
| 123 | const raw = Number(env.EVOMAP_MAILBOX_MAX_LINE_BYTES); |
no test coverage detected