fixed issue 12

This commit is contained in:
Nikolai Tschacher 2019-03-20 11:50:43 +01:00
parent 7a8c6f13f0
commit 1bed9c5854

View File

@ -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 {