From 50ad73d324e356b85cfec40b8ba9d9def6fec801 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Wed, 30 Mar 2016 10:29:40 -0300 Subject: [PATCH] Fixes #879. Fix circular structure in JSON config/settings --- src/beautifiers/index.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/beautifiers/index.coffee b/src/beautifiers/index.coffee index 03a4a6b..9aeaf25 100644 --- a/src/beautifiers/index.coffee +++ b/src/beautifiers/index.coffee @@ -130,7 +130,10 @@ module.exports = class Beautifiers extends EventEmitter op.key = field # Remember Option's Language - op.language = lang + op.language = { + name: lang.name, + namespace: lang.namespace + } # Add option options[field] = op