Skip to content
Snippets Groups Projects
Commit 1a8fde6b authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] `dump` command: don't be annoyed by automatic block resolution before a dump

parent bb9edb85
No related branches found
No related tags found
No related merge requests found
...@@ -96,11 +96,13 @@ module.exports = { ...@@ -96,11 +96,13 @@ module.exports = {
logs: false, logs: false,
preventIfRunning: true, preventIfRunning: true,
onDatabaseExecute: async (server:Server, conf:ConfDTO, program:any, params:any) => { onConfiguredExecute: async (server:Server, conf:ConfDTO, program:any, params:any) => {
const what: string = params[0] || '' const what: string = params[0] || ''
const name: string = params[1] || '' const name: string = params[1] || ''
const cond: string = params[2] || '' const cond: string = params[2] || ''
await server.dal.init(server.conf)
try { try {
switch (what) { switch (what) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment