mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Hoist exitWithMsg. Update blockhains number to check
This commit is contained in:
parent
407f8d486d
commit
a4d3e5679a
|
@ -25,7 +25,7 @@ function checkRootDir () {
|
||||||
checkBlockhainsFolder()
|
checkBlockhainsFolder()
|
||||||
|
|
||||||
function checkBlockhainsFolder(){
|
function checkBlockhainsFolder(){
|
||||||
const currentBlockchains = 47
|
const currentBlockchains = 58
|
||||||
const foundBlockchains = readDirSync('./blockchains')
|
const foundBlockchains = readDirSync('./blockchains')
|
||||||
|
|
||||||
if (foundBlockchains.length !== currentBlockchains) {
|
if (foundBlockchains.length !== currentBlockchains) {
|
||||||
|
@ -121,7 +121,7 @@ async function getBinanceTokenSymbols() {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const exitWithMsg = msg => {
|
function exitWithMsg (msg) {
|
||||||
console.log(msg)
|
console.log(msg)
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user