mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix Function node
accidental leakage of in-progress work
This commit is contained in:
parent
bcefa6c9ef
commit
214338eb62
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
**/
|
||||
|
||||
module.exports = function(RED) {
|
||||
var RED = require(process.env.NODE_RED_HOME+"/red/red");
|
||||
|
||||
var util = require("util");
|
||||
var vm = require("vm");
|
||||
@ -69,4 +69,3 @@ module.exports = function(RED) {
|
||||
|
||||
RED.nodes.registerType("function",FunctionNode);
|
||||
RED.library.register("functions");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user