diff --git a/red/nodes/flows.js b/red/nodes/flows.js index 6db72efa3..747e1b461 100644 --- a/red/nodes/flows.js +++ b/red/nodes/flows.js @@ -80,7 +80,7 @@ var parseConfig = function() { } } // console.log(nn); - if (nn == null) { + if (nn === null) { util.log("[red] unknown type: "+activeConfig[i].type); } } @@ -88,7 +88,7 @@ var parseConfig = function() { // Clean up any orphaned credentials credentials.clean(flowNodes.get); events.emit("nodes-started"); -} +}; function stopFlows() { @@ -161,7 +161,7 @@ var flowNodes = module.exports = { activeConfig = conf; parseConfig(); }); - }) + }); }, stopFlows: stopFlows -} +};