We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d16ef commit 32e8603Copy full SHA for 32e8603
meteor/server/api/blueprints/cache.ts
@@ -6,7 +6,7 @@ import { stringifyError } from '@sofie-automation/shared-lib/dist/lib/stringifyE
6
7
export function evalBlueprint(blueprint: Pick<Blueprint, '_id' | 'name' | 'code'>): SomeBlueprintManifest {
8
const blueprintPath = `db:///blueprint/${blueprint.name || blueprint._id}-bundle.js`
9
- const context = vm.createContext({ process: process }, {})
+ const context = vm.createContext({}, {})
10
const script = new vm.Script(
11
`__run_result = ${blueprint.code}
12
__run_result || blueprint`,
0 commit comments