Skip to content

Commit

Permalink
fix(eslint): resolve no-mixed-operators error
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kristian Flaatten committed Jul 27, 2016
1 parent 8b52f1a commit 288b08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ module.exports.prototype.parseStringVal = function parseStringVal(string) {
} else if (this.string.toBoolean && string.toLowerCase() === 'false') {
return false;
} else if (this.string.toNumber && !isNaN(parseInt(string, 10)) &&
(+string - +string + 1) >= 0) {
((+string - +string) + 1) >= 0) {
return parseFloat(string, 10);
}

Expand Down

0 comments on commit 288b08d

Please sign in to comment.