diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/lib/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/index.js b/js/lib/index.js index 3ded1df..f1023c1 100755 --- a/js/lib/index.js +++ b/js/lib/index.js @@ -14,7 +14,7 @@ var util = require('util'); var renderAST = function(tree) { - return util.inspect(tree, {depth: null}); + return util.inspect(tree.toAST(), {depth: null}); }; module.exports.Node = require('./node'); |