Skip to content

Commit

Permalink
Disable circular refs in LosslessJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Feb 12, 2020
1 parent f7a37e5 commit 7ed6886
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -6,6 +6,8 @@ const path = require('path')
const JSON = require('lossless-json')
const std = require('./std')

JSON.config({circularRefs: false})

try {
require(path.join(os.homedir(), '.fxrc')) // Should be required before config.js usage.
} catch (err) {
Expand Down

0 comments on commit 7ed6886

Please sign in to comment.