From a79e58bd731a49248aaa565ab7930754368e8b15 Mon Sep 17 00:00:00 2001 From: olih Date: Mon, 18 Apr 2016 21:42:15 +0100 Subject: [PATCH] Fixes issue with array seen incorrectly as object --- lib/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/index.js b/lib/index.js index b4903fa..d4432da 100644 --- a/lib/index.js +++ b/lib/index.js @@ -116,6 +116,8 @@ export default (cfg) => { theme.writeArrayOfSimpleObjects(messager, message, options); return message; } + theme.writeObject(messager, message, options); + return message; } const isObj = isObject || isPlainObject;