mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
clarify linting confusion
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = function(RED) {
|
||||
|
||||
//console.log(this);
|
||||
|
||||
var clustered = !(this.topology === "direct") || false;
|
||||
var clustered = (this.topology !== "direct") || false;
|
||||
|
||||
var url = "mongodb://";
|
||||
if (this.topology === "dnscluster") {
|
||||
|
||||
Reference in New Issue
Block a user