mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix jshint complaints.
This commit is contained in:
parent
7281d273a1
commit
fe9ff0a297
@ -80,7 +80,7 @@ var parseConfig = function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// console.log(nn);
|
// console.log(nn);
|
||||||
if (nn == null) {
|
if (nn === null) {
|
||||||
util.log("[red] unknown type: "+activeConfig[i].type);
|
util.log("[red] unknown type: "+activeConfig[i].type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@ var parseConfig = function() {
|
|||||||
// Clean up any orphaned credentials
|
// Clean up any orphaned credentials
|
||||||
credentials.clean(flowNodes.get);
|
credentials.clean(flowNodes.get);
|
||||||
events.emit("nodes-started");
|
events.emit("nodes-started");
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
function stopFlows() {
|
function stopFlows() {
|
||||||
@ -161,7 +161,7 @@ var flowNodes = module.exports = {
|
|||||||
activeConfig = conf;
|
activeConfig = conf;
|
||||||
parseConfig();
|
parseConfig();
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
stopFlows: stopFlows
|
stopFlows: stopFlows
|
||||||
}
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user