greybel-mock-environment 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/environment.js +1 -1
- package/package.json +1 -1
package/dist/environment.js
CHANGED
|
@@ -161,7 +161,7 @@ var MockEnvironment = /** @class */ (function () {
|
|
|
161
161
|
};
|
|
162
162
|
MockEnvironment.prototype.getRouterByIp = function (ipAddress) {
|
|
163
163
|
var me = this;
|
|
164
|
-
if ((0, utils_1.isValidIp)(ipAddress)) {
|
|
164
|
+
if (!(0, utils_1.isValidIp)(ipAddress)) {
|
|
165
165
|
return null;
|
|
166
166
|
}
|
|
167
167
|
var serverMap = me.networkGenerator.serverMap;
|