mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Bump up chain number
This commit is contained in:
parent
a375fe3db2
commit
c729aff1ff
|
@ -29,7 +29,7 @@ function checkRootDir () {
|
||||||
checkBlockhainsFolder()
|
checkBlockhainsFolder()
|
||||||
|
|
||||||
function checkBlockhainsFolder(){
|
function checkBlockhainsFolder(){
|
||||||
const currentBlockchains = 61;
|
const currentBlockchains = 62;
|
||||||
|
|
||||||
const foundBlockchains = readDirSync(blockchainsFolderPath)
|
const foundBlockchains = readDirSync(blockchainsFolderPath)
|
||||||
|
|
||||||
|
@ -45,7 +45,6 @@ function checkBlockhainsFolder(){
|
||||||
if (ethereumSidechains.indexOf(folder) !== -1) {
|
if (ethereumSidechains.indexOf(folder) !== -1) {
|
||||||
const assetsPath = `./blockchains/${folder}/assets`
|
const assetsPath = `./blockchains/${folder}/assets`
|
||||||
const assets = readDirSync(assetsPath)
|
const assets = readDirSync(assetsPath)
|
||||||
|
|
||||||
assets.forEach(asset => {
|
assets.forEach(asset => {
|
||||||
if (uppercaseExp.test(asset)) {
|
if (uppercaseExp.test(asset)) {
|
||||||
exitWithMsg(`${asset} folder must be in lowercase`)
|
exitWithMsg(`${asset} folder must be in lowercase`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user