Fixes #879. Fix circular structure in JSON config/settings

This commit is contained in:
Glavin Wiechert 2016-03-30 10:29:40 -03:00
parent 0c136cfc38
commit 50ad73d324
1 changed files with 4 additions and 1 deletions

View File

@ -130,7 +130,10 @@ module.exports = class Beautifiers extends EventEmitter
op.key = field op.key = field
# Remember Option's Language # Remember Option's Language
op.language = lang op.language = {
name: lang.name,
namespace: lang.namespace
}
# Add option # Add option
options[field] = op options[field] = op