diff --git a/src/cli/commands/dag/get.js b/src/cli/commands/dag/get.js index 957185c59c..6088d2eb34 100644 --- a/src/cli/commands/dag/get.js +++ b/src/cli/commands/dag/get.js @@ -42,7 +42,7 @@ module.exports = { if (node._json) { delete node._json.multihash node._json.data = '0x' + node._json.data.toString('hex') - print(node._json) + print(JSON.stringify(node._json)) return }