Skip to content

Commit

Permalink
Fix compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gamalielhere committed Oct 24, 2019
1 parent 0224b95 commit f6638a0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions renameToChecksum.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ function renameTokens() {
fs.renameSync(
`${tokensDirectory}/${folder}/${file}`,
`${tokensDirectory}/${folder}/${utils
.toChecksumAddress(file.replace('.json', ''))
.toLowerCase()}.json`
.toChecksumAddress(file.replace('.json', ''))}.json`
);
}
});
Expand All @@ -27,8 +26,7 @@ function renameNfts() {
fs.renameSync(
`${nftsDirectory}/${folder}/${file}`,
`${nftsDirectory}/${folder}/${utils
.toChecksumAddress(file.replace('.json', ''))
.toLowerCase()}.json`
.toChecksumAddress(file.replace('.json', ''))}.json`
);
}
});
Expand All @@ -42,8 +40,7 @@ function renameContracts() {
fs.renameSync(
`${contractsDirectory}/${folder}/${file}`,
`${contractsDirectory}/${folder}/${utils
.toChecksumAddress(file.replace('.json', ''))
.toLowerCase()}.json`
.toChecksumAddress(file.replace('.json', ''))}.json`
);
}
});
Expand Down

0 comments on commit f6638a0

Please sign in to comment.