aboutsummaryrefslogtreecommitdiffstats
path: root/tools/may_execute_js_code.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/may_execute_js_code.js')
-rw-r--r--tools/may_execute_js_code.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/may_execute_js_code.js b/tools/may_execute_js_code.js
deleted file mode 100644
index 4706e07..0000000
--- a/tools/may_execute_js_code.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Runs the javascript code in node.js.
- * @typedef {Object} Args
- * @property {string} code - Javascript code to execute, such as `console.log("hello world")`
- * @param {Args} args
- */
-exports.run = function run({ code }) {
- eval(code);
-}