Spaces:
Running
Running
Rifza111
commited on
Commit
·
bc8faa8
1
Parent(s):
c5bf270
fix
Browse files
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
|
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 |
|