Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Commit

Permalink
forgot to stringify JSON output
Browse files Browse the repository at this point in the history
  • Loading branch information
fbuchinger committed Oct 27, 2017
1 parent 36dafec commit d1322cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/getcss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ program
url = normalizeUrl(url, { stripWWW: false });
getCss(url, { verbose: true, timeout: options.timeout, stripWayback: options.strip_wayback_css }).then(function(css) {
if (options.json){
console.log(css);
console.log(JSON.stringify(css));
}
else {
console.log(css.css);
Expand Down

0 comments on commit d1322cd

Please sign in to comment.