Fix context not defined

This commit is contained in:
Ross Casey
2019-12-16 14:43:36 +00:00
parent 9004f2244a
commit 9d20cebc08
2 changed files with 1 additions and 2 deletions

View File

@@ -217,7 +217,6 @@ module.exports = function(RED) {
this.on("input", function(msg) {
try {
var start = process.hrtime();
context.msg = msg;
sandbox.msg = msg;
const vm2Instance = new vm2.VM({ sandbox });