dont print eval result
This commit is contained in:
parent
970ceeb8b0
commit
f58ff1785a
|
|
@ -65,8 +65,8 @@ async function main() {
|
||||||
|
|
||||||
try { mkdirSync('/tmp/shrimp') } catch { }
|
try { mkdirSync('/tmp/shrimp') } catch { }
|
||||||
const path = `/tmp/shrimp/${randomUUID()}.sh`
|
const path = `/tmp/shrimp/${randomUUID()}.sh`
|
||||||
writeFileSync(path, code)
|
writeFileSync(path, fullCode)
|
||||||
console.log(await runFile(path))
|
await runFile(path)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user