Skip to content

Commit 32e8603

Browse files
committed
fix: BP evaluation undo add process
1 parent 24d16ef commit 32e8603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meteor/server/api/blueprints/cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { stringifyError } from '@sofie-automation/shared-lib/dist/lib/stringifyE
66

77
export function evalBlueprint(blueprint: Pick<Blueprint, '_id' | 'name' | 'code'>): SomeBlueprintManifest {
88
const blueprintPath = `db:///blueprint/${blueprint.name || blueprint._id}-bundle.js`
9-
const context = vm.createContext({ process: process }, {})
9+
const context = vm.createContext({}, {})
1010
const script = new vm.Script(
1111
`__run_result = ${blueprint.code}
1212
__run_result || blueprint`,

0 commit comments

Comments
 (0)