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 });

View File

@ -1,6 +1,6 @@
{
"name": "@servisbot/node-red",
"version": "0.18.7-patch-2",
"version": "0.18.7-patch-3",
"description": "A visual tool for wiring the Internet of Things",
"homepage": "http://nodered.org",
"license": "Apache-2.0",