clarify linting confusion

This commit is contained in:
Dave Conway-Jones 2020-09-17 10:02:54 +01:00
parent c21fb22918
commit fbad6e4c2d
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
2 changed files with 2 additions and 2 deletions

View File

@ -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") {

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-mongodb",
"version" : "0.2.0",
"version" : "0.2.1",
"description" : "Node-RED nodes to talk to an Mongo database",
"dependencies" : {
"mongodb" : "^3.6.2"