Skip to content

Commit

Permalink
chore: remove JSON.stringify() from example code (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeworxet authored Jan 16, 2024
1 parent 003f495 commit e984a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit e984a79

Please sign in to comment.