Skip to content

Commit

Permalink
Merge pull request #134 from Sansekai/patch-1
Browse files Browse the repository at this point in the history
fix type is not defined (typo)
  • Loading branch information
twlite committed Jul 29, 2022
2 parents 6c22554 + c65f1fa commit 98d6a74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rank.js
Expand Up @@ -244,7 +244,7 @@ class Rank {
this.data.progressBar.rounded = !!rounded;
break;
default:
throw new Error(`Unsupported progressbar type "${type}"!`);
throw new Error(`Unsupported progressbar type "${fillType}"!`);
}

return this;
Expand Down Expand Up @@ -635,4 +635,4 @@ class Rank {

}

module.exports = Rank;
module.exports = Rank;

0 comments on commit 98d6a74

Please sign in to comment.