diff options
-rw-r--r-- | lib/output/json.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/output/json.js b/lib/output/json.js index 4fb3bbf..5c9e1f5 100644 --- a/lib/output/json.js +++ b/lib/output/json.js @@ -19,6 +19,9 @@ JSONOutput.prototype.onPage = function(page) { .then(function() { var json = that.getPageContext(page); + // Delete some private properties + delete json.config; + return that.writeFile( page.withExtension('.json'), JSON.stringify(json, null, 4) |