clear results context on every run
This commit is contained in:
parent
2dc3a693a8
commit
2d561f124d
|
@ -186,6 +186,7 @@ export class IsolatedVM implements VM {
|
||||||
|
|
||||||
code = `
|
code = `
|
||||||
try {
|
try {
|
||||||
|
results = {}
|
||||||
results['${this.runResultKey}']=${this.codeWrapper(code)}
|
results['${this.runResultKey}']=${this.codeWrapper(code)}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
results['${this.runErrorKey}']=e
|
results['${this.runErrorKey}']=e
|
||||||
|
|
Loading…
Reference in New Issue