mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	fix usage of vm.Script()
This commit is contained in:
		| @@ -374,7 +374,7 @@ module.exports = function(RED) { | ||||
|                         iniOpt.breakOnSigint = true; | ||||
|                     } | ||||
|                 } | ||||
|                 node.script = new vm.Script(functionText, {filename: createVMOpt(node, "")}); | ||||
|                 node.script = new vm.Script(functionText, createVMOpt(node, "")); | ||||
|                 if (node.fin && (node.fin !== "")) { | ||||
|                     var finText = `(function () { | ||||
|                         var node = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user