Skip to content

Commit

Permalink
use toLowerCase instead of locale
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstevens19 committed May 24, 2021
1 parent dfb16d5 commit a95b4f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion abi-types-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-abi-types-generator",
"version": "1.1.5",
"version": "1.1.6",
"description": "Generate types from an ethereum ABI json file.",
"main": "dist/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export default class TypeScriptHelpers {
return `${Helpers.capitalize(
internalType
.substring(internalType.indexOf('.'))
.toLocaleLowerCase()
.toLowerCase()
.replace('struct', '')
.replace('.', '')
.replace('[', '')
Expand Down

0 comments on commit a95b4f8

Please sign in to comment.