Removing accidentally commited stuff.

This commit is contained in:
mike12345567 2024-02-29 16:31:50 +00:00
parent 50bbbb2e06
commit 92ac417fdf
1 changed files with 1 additions and 8 deletions

View File

@ -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()