Skip to content
This repository has been archived by the owner on Apr 13, 2018. It is now read-only.

Commit

Permalink
command line program output valid JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Apr 20, 2014
1 parent c5bdf9b commit 5d9d93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ try {
delete parsedTorrent.info
delete parsedTorrent.infoBuffer

console.dir(parsedTorrent)
console.log(JSON.stringify(parsedTorrent, undefined, 2))

0 comments on commit 5d9d93f

Please sign in to comment.