Comparing version 1.0.14 to 1.0.15
@@ -40,2 +40,5 @@ "use strict"; | ||
}; | ||
/** | ||
* tags maybe is null, @TODO | ||
*/ | ||
Consul.prototype.checkEnv = function (tags, env) { | ||
@@ -49,4 +52,5 @@ if (Array.isArray(tags)) { | ||
} | ||
return false; | ||
} | ||
return false; | ||
return true; | ||
}; | ||
@@ -53,0 +57,0 @@ return Consul; |
{ | ||
"name": "kitejs", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "the rpc framework Kite for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -51,2 +51,5 @@ import {Address} from './protocol/protocol'; | ||
/** | ||
* tags maybe is null, @TODO | ||
*/ | ||
private checkEnv(tags: Array<string>, env: string) { | ||
@@ -60,5 +63,7 @@ if (Array.isArray(tags)) { | ||
} | ||
return false; | ||
} | ||
return false; | ||
return true; | ||
} | ||
@@ -65,0 +70,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52331
1369