diff --git a/lib/utils/objects.js b/lib/utils/objects.js index f0ba6cb..bb04d21 100644 --- a/lib/utils/objects.js +++ b/lib/utils/objects.js @@ -4,8 +4,6 @@ var o = null // eslint-disable-line no-unused-vars -// TODO: https://github.com/MozillaSecurity/octo/issues/7 - function Objects () { this.counter = 0 this.container = {} @@ -77,7 +75,7 @@ Objects.prototype.count = function (category) { Objects.prototype.has = function (category) { if (category in this.container) { this.check(category) - return !!(this.container[category].length > 0) + return this.container[category].length > 0 } return false }