lang/org (babel): sys.print -> console.log

Update ob-js's wrapper for js babel blocks. sys.print was deprecated and
removed in later versions of node.
This commit is contained in:
Henrik Lissner 2019-06-30 02:27:07 +02:00
parent 1e286da278
commit 768ed10dc3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -113,7 +113,10 @@
collect p))
(when (featurep! +ipython)
(load! "contrib/ipython")))
(load! "contrib/ipython"))
;; Fixes for various babel plugins
(setq org-babel-js-function-wrapper "console.log(require('util').inspect(function(){\n%s\n}()));"))
(defun +org|init-babel-lazy-loader ()