From 31d5bbbdeb1aa43e84c979af18dc55e961784387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Thu, 24 May 2018 23:05:59 +0300 Subject: [PATCH] Only transform list of lines into string at end of prettifyIR, since otherwise we concat an array with a string --- gir.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gir.js b/gir.js index a273922..5ba67e5 100644 --- a/gir.js +++ b/gir.js @@ -217,9 +217,9 @@ function prettifyIR(parsed) { } } - return lines.join('\n'); + return lines } - return worker(parsed); + return worker(parsed).join('\n'); } // ------------------------------------------------------------------