Skip to content

Commit

Permalink
Merge pull request #45 from hkdobrev/patch-2
Browse files Browse the repository at this point in the history
Parse skill levels with base 10
  • Loading branch information
XuluWarrior committed Nov 17, 2020
2 parents c50eef3 + 612b646 commit 5f664cb
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 @@ -67,7 +67,7 @@ Handlebars.registerHelper('skillLevel', function(str) {
case "master":
return "100";
default:
return parseInt(str)
return parseInt(str, 10)
}
});

Expand Down

0 comments on commit 5f664cb

Please sign in to comment.