From 1bed9c58543f3a32bc5224993c06c848b40fe3db Mon Sep 17 00:00:00 2001 From: Nikolai Tschacher Date: Wed, 20 Mar 2019 11:50:43 +0100 Subject: [PATCH] fixed issue 12 --- src/node_scraper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node_scraper.js b/src/node_scraper.js index 8f20ea3..60b553e 100644 --- a/src/node_scraper.js +++ b/src/node_scraper.js @@ -40,8 +40,8 @@ function getScraper(searchEngine, args) { } module.exports.handler = async function handler (event, context, callback) { - config = event; - pluggable = {}; + let config = event; + let pluggable = {}; if (config.custom_func) { if (fs.existsSync(config.custom_func)) { try {