Commit fa752bbb authored by Nikos Marinos's avatar Nikos Marinos
Browse files

exit incompleteCitationsCheck after finishing.

parent 4c116eff
Pipeline #13246 failed with stages
in 22 seconds
......@@ -21,11 +21,12 @@ let user = null
logger.info(`Running incomplete citations check...`)
user = await getUser.getAdminUser()
await incompleteCitationsCheck()
Manuscript.knex().destroy()
await Manuscript.knex().destroy()
logger.info(
`Incomplete citations check was finished in ${Date.now() -
beforeUpdate} ms`,
)
process.exit(0)
})()
// module.exports = async publishedCheck => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment