Removing accidentally commited stuff.
This commit is contained in:
parent
50bbbb2e06
commit
92ac417fdf
|
@ -99,14 +99,7 @@ export class IsolatedVM implements VM {
|
|||
}
|
||||
|
||||
withContext<T>(context: Record<string, any>, executeWithContext: () => T) {
|
||||
this.addToContext({
|
||||
...context,
|
||||
Snippets: {
|
||||
specialFunction: function (special: string) {
|
||||
return "hello world! " + special
|
||||
},
|
||||
},
|
||||
})
|
||||
this.addToContext(context)
|
||||
|
||||
try {
|
||||
return executeWithContext()
|
||||
|
|
Loading…
Reference in New Issue