Skip to content

Commit

Permalink
no need to coerce boolean, assuming filter returns a boolean.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Coe committed Mar 8, 2014
1 parent 60e7fd8 commit d8efd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/check-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,5 @@ exports.CheckNPM.prototype.majorRelease = function(package) {
};

exports.CheckNPM.prototype.filterPackage = function (package) {
return !! this.filter ? this.filter(package) : true;
return this.filter ? this.filter(package) : true;
};

0 comments on commit d8efd2c

Please sign in to comment.