Rifza111 commited on
Commit
bc8faa8
·
1 Parent(s): c5bf270
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -285,7 +285,7 @@ async function handleE(req, res, action) {
285
  if (action === 'eval') {
286
  result = await eval(q);
287
  } else if (action === 'exec') {
288
- const { stdout, stderr } = await execPromise(q);
289
  result = stdout || stderr;
290
  }
291
 
 
285
  if (action === 'eval') {
286
  result = await eval(q);
287
  } else if (action === 'exec') {
288
+ const { stdout, stderr } = await _exec(q);
289
  result = stdout || stderr;
290
  }
291