mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix context not defined
This commit is contained in:
parent
9004f2244a
commit
9d20cebc08
@ -217,7 +217,6 @@ module.exports = function(RED) {
|
|||||||
this.on("input", function(msg) {
|
this.on("input", function(msg) {
|
||||||
try {
|
try {
|
||||||
var start = process.hrtime();
|
var start = process.hrtime();
|
||||||
context.msg = msg;
|
|
||||||
sandbox.msg = msg;
|
sandbox.msg = msg;
|
||||||
|
|
||||||
const vm2Instance = new vm2.VM({ sandbox });
|
const vm2Instance = new vm2.VM({ sandbox });
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@servisbot/node-red",
|
"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",
|
"description": "A visual tool for wiring the Internet of Things",
|
||||||
"homepage": "http://nodered.org",
|
"homepage": "http://nodered.org",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user