From 568835089a30c72b26a9d087b725a500270165e7 Mon Sep 17 00:00:00 2001 From: Jethro Muller Date: Thu, 25 Aug 2022 14:30:14 +0200 Subject: [PATCH] Fix pipeline example --- docs/transports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/transports.md b/docs/transports.md index 9d6e04bb3..52ea4b9b6 100644 --- a/docs/transports.md +++ b/docs/transports.md @@ -200,7 +200,7 @@ export default async function (options) { chunk.service = 'pino' // stringify the payload again - this.push(JSON.stringify(chunk)) + this.push(`${JSON.stringify(chunk)}\n`) cb() } })