Skip to content

Commit

Permalink
Fix the handling of --pretty option (#355)
Browse files Browse the repository at this point in the history
Resolves #335
  • Loading branch information
macbre authored Jul 28, 2021
1 parent 11fd1f0 commit 01e91b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/analyze-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ runner(runnerOpts, function (err, res) {
}

// format the results
if (program.pretty === true) {
if (options.pretty === true) {
output = JSON.stringify(res, null, " ");
} else {
output = JSON.stringify(res);
Expand Down

0 comments on commit 01e91b4

Please sign in to comment.