Skip to content
Snippets Groups Projects
Commit fb780351 authored by Francois Romain's avatar Francois Romain
Browse files

fix: supprime une erreur de log lors de l'export des utilisateurs

parent ec6566c9
Branches
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ const dbProcess = async definition => {
definition.tables,
content
)
return `Export: ${content.length} ${definition.name}`
}
module.exports = dbProcess
......@@ -8,8 +8,9 @@ const utilisateursDefinition = definitions.find(
)
const run = async () => {
await dbProcess(utilisateursDefinition)
process.exit(1)
const res = await dbProcess(utilisateursDefinition)
console.log(res)
process.exit()
}
run()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment