aboutsummaryrefslogtreecommitdiffstats
path: root/tools/execute_js_code.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/execute_js_code.js')
-rw-r--r--tools/execute_js_code.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/execute_js_code.js b/tools/execute_js_code.js
index 0b7557b..852b33c 100644
--- a/tools/execute_js_code.js
+++ b/tools/execute_js_code.js
@@ -4,7 +4,7 @@
* @property {string} code - Javascript code to execute, such as `console.log("hello world")`
* @param {Args} args
*/
-exports.run = function run({ code }) {
+exports.run = function ({ code }) {
let output = "";
const oldStdoutWrite = process.stdout.write.bind(process.stdout);
process.stdout.write = (chunk, _encoding, callback) => {