Skip to content

Commit

Permalink
Hoist exitWithMsg. Update blockhains number to check
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykola committed Aug 12, 2019
1 parent 407f8d4 commit a4d3e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function checkRootDir () {
checkBlockhainsFolder()

function checkBlockhainsFolder(){
const currentBlockchains = 47
const currentBlockchains = 58
const foundBlockchains = readDirSync('./blockchains')

if (foundBlockchains.length !== currentBlockchains) {
Expand Down Expand Up @@ -121,7 +121,7 @@ async function getBinanceTokenSymbols() {
})
}

const exitWithMsg = msg => {
function exitWithMsg (msg) {
console.log(msg)
process.exit(1)
}
Expand Down

0 comments on commit a4d3e56

Please sign in to comment.