mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
WIP HAD to move NodeDish out - NONE of it is async!
This commit is contained in:
parent
aafde8986d
commit
04b7f2fa8c
16 changed files with 442 additions and 411 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue