mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-23 20:44:42 +08:00
引入tree
This commit is contained in:
@@ -463,7 +463,7 @@ window.runCodeInSandbox = (code, callback, addVars = {}) => {
|
||||
sandbox.console = {
|
||||
log: (...stdout) => {
|
||||
console.log(stdout);
|
||||
callback(parseStdout(stdout), null)
|
||||
callback(stdout, null)
|
||||
},
|
||||
error: (...stderr) => {
|
||||
callback(null, parseStdout(stderr))
|
||||
|
Reference in New Issue
Block a user