update verify.js

This commit is contained in:
Pedro Gomes 2019-07-02 12:18:44 +02:00
parent 2791f005f1
commit afa2f85986

View File

@ -17,7 +17,7 @@ fs.readdir(CHAINS_DIRECTORY, async function (err, files) {
process.exit(1) process.exit(1)
} }
startSpinner(`Verifying ${CHAINS_DIRECTORY}`) startSpinner(`Verifying ${CHAINS_DIRECTORY} files`)
let result = [] let result = []
@ -45,6 +45,8 @@ fs.readdir(CHAINS_DIRECTORY, async function (err, files) {
tableLog(result) tableLog(result)
console.log( console.log(
`Successfully verified ${files.length} file${files.length > 1 ? 's' : ''}` `Successfully verified and wrote ${files.length} file${
files.length > 1 ? 's' : ''
}`
) )
}) })