dingus
This commit is contained in:
parent
62d5eaae5c
commit
21a96ea481
@ -19,7 +19,7 @@ class Eval extends Command {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
let evaled = eval(clean); // eslint-disable-line no-eval
|
let evaled = eval(clean); // eslint-disable-line no-eval
|
||||||
if (evaled instanceof Promise) await evaled;
|
if (evaled instanceof Promise) evaled = await evaled;
|
||||||
if (typeof evaled !== 'string') evaled = inspect(evaled);
|
if (typeof evaled !== 'string') evaled = inspect(evaled);
|
||||||
|
|
||||||
evaled = evaled
|
evaled = evaled
|
||||||
|
Loading…
Reference in New Issue
Block a user