diff --git a/src-electron/main-process/startup.js b/src-electron/main-process/startup.js index f509e4791f..215786ea61 100644 --- a/src-electron/main-process/startup.js +++ b/src-electron/main-process/startup.js @@ -471,7 +471,7 @@ async function startSelfCheck( argv, options = { quitFunction: null, - cleanDb: true, + cleanDb: false, logger: console.log, } ) { @@ -550,8 +550,10 @@ async function generateSingleFile( { zcl: env.builtinSilabsZclMetafile(), template: env.builtinTemplateMetafile(), - }, null, null - ) + }, + null, + null + ) output = outputPattern } else { options.logger(`👉 using input file: ${zapFile}`) @@ -803,7 +805,7 @@ async function startUpMainInstance(argv, callbacks) { } else if (argv._.includes('selfCheck')) { let options = { quitFunction: quitFunction, - cleanDb: true, + cleanDb: false, logger: console.log, } return startSelfCheck(argv, options) @@ -812,7 +814,7 @@ async function startUpMainInstance(argv, callbacks) { throw 'You need to specify at least one zap file.' let options = { quitFunction: quitFunction, - cleanDb: true, + cleanDb: false, logger: console.log, } return startAnalyze(argv, options) @@ -838,7 +840,7 @@ async function startUpMainInstance(argv, callbacks) { } else if (argv._.includes('generate')) { let options = { quitFunction: quitFunction, - cleanDb: true, + cleanDb: false, logger: console.log, } return startGeneration(argv, options).catch((err) => {