diff --git a/lib/snapshot-manager.js b/lib/snapshot-manager.js index 9a3a184ab..69eed2120 100644 --- a/lib/snapshot-manager.js +++ b/lib/snapshot-manager.js @@ -151,6 +151,8 @@ function appendReportEntries(existingReport, entries) { buffers.unshift(prepend); byteLength += prepend.byteLength; + buffers.push(REPORT_TRAILING_NEWLINE); + byteLength += REPORT_TRAILING_NEWLINE.byteLength; return Buffer.concat(buffers, byteLength); }