Skip to content

Commit

Permalink
Fixes issue with array seen incorrectly as object
Browse files Browse the repository at this point in the history
  • Loading branch information
olih committed Apr 18, 2016
1 parent 3a3ffba commit a79e58b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/index.js
Expand Up @@ -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;
Expand Down

0 comments on commit a79e58b

Please sign in to comment.