From e984a795a269f9bb20fd967a822777e9f51b323c Mon Sep 17 00:00:00 2001 From: Viacheslav Turovskyi Date: Tue, 16 Jan 2024 10:06:04 +0200 Subject: [PATCH] chore: remove JSON.stringify() from example code (#215) --- examples/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/index.js b/examples/index.js index ddf4f36b..5c7d928e 100644 --- a/examples/index.js +++ b/examples/index.js @@ -5,7 +5,7 @@ const { Optimizer } = require('../lib/Optimizer') const input = require('fs').readFileSync('./examples/input.yaml', 'utf8') const optimizer = new Optimizer(input) optimizer.getReport().then((report) => { - console.log(JSON.stringify(report)) + console.log(report) const optimizedDocument = optimizer.getOptimizedDocument({ output: 'YAML', rules: {