From fef7f88e9131b54665448ef20a3d38255b508788 Mon Sep 17 00:00:00 2001 From: Nathan Date: Wed, 29 May 2019 16:27:26 -0700 Subject: [PATCH] Fix analysis mode not being correctly set --- helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.js b/helpers.js index 2bc060c..6ce1468 100644 --- a/helpers.js +++ b/helpers.js @@ -228,7 +228,7 @@ const doAnalysis = async (client, config, contracts, limit = defaultAnalyzeRateL analyzeOpts.data = cleanAnalyzeDataEmptyProps(obj.buildObj, config.debug, config.logger.debug); - analyzeOpts.data.analysisMode = analyzeOpts.mode || 'quick'; + analyzeOpts.data.analysisMode = config.mode || 'quick'; if (config.debug > 1) { config.logger.debug(`${util.inspect(analyzeOpts, {depth: null})}`); }