WIP HAD to move NodeDish out - NONE of it is async!

This commit is contained in:
d98762625 2019-02-15 15:20:05 +00:00
parent aafde8986d
commit 04b7f2fa8c
16 changed files with 442 additions and 411 deletions

View file

@ -9,6 +9,7 @@
import chef from "./index";
import repl from "repl";
import File from "./File";
import "babel-polyfill";
/*eslint no-console: ["off"] */
@ -26,6 +27,8 @@ const replServer = repl.start({
prompt: "chef > ",
});
global.File = File;
Object.keys(chef).forEach((key) => {
if (key !== "operations") {
replServer.context[key] = chef[key];