Skip to content

Commit 2fb1eee

Browse files
committed
Minor fix to HasFeature method
1 parent e805063 commit 2fb1eee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

methods/Helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ module.exports = class Helpers {
165165
}
166166
}
167167

168-
if (features == null) {
168+
if (features == null || feature.trim() == "") {
169169
return false;
170170
}
171171

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cryptolens",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"description": "Client API for NodeJS to access Cryptolens Software Licensing API.",
55
"main": "main.js",
66
"scripts": {

0 commit comments

Comments
 (0)