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

Commit d1322cd

Browse files
committed
forgot to stringify JSON output
1 parent 36dafec commit d1322cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/getcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ program
1616
url = normalizeUrl(url, { stripWWW: false });
1717
getCss(url, { verbose: true, timeout: options.timeout, stripWayback: options.strip_wayback_css }).then(function(css) {
1818
if (options.json){
19-
console.log(css);
19+
console.log(JSON.stringify(css));
2020
}
2121
else {
2222
console.log(css.css);

0 commit comments

Comments
 (0)