From acedf99e3647d56a570f250c8e8f8136d63fcf89 Mon Sep 17 00:00:00 2001 From: Nick Downing Date: Sat, 19 Jan 2019 13:47:15 +1100 Subject: [PATCH] Update to jst_server.git commit 1cb4c27 --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index f9a1110..2d3b56d 100755 --- a/cli.js +++ b/cli.js @@ -25,7 +25,7 @@ let text = jstize( if (wrap) text = `${' '.repeat(indent * initial_indent)}return async env => { ${' '.repeat(indent * (initial_indent + 1))}let _out = [] -${text}${' '.repeat(indent * (initial_indent + 1))}_site.serve(env, 200, Buffer.from(_out.join('')), '${commander.name}') +${text}${' '.repeat(indent * (initial_indent + 1))}env.site.serve(env, 200, Buffer.from(_out.join('')), '${commander.name}') ${' '.repeat(indent * initial_indent)}} ` fs.writeSync(1, text, {encoding: 'utf-8'}) -- 2.34.1