lambduh-gulp
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -20,6 +20,10 @@ var gutil = require('gulp-util'); | ||
if (!opts.configFile) { | ||
opts.configFile = 'lambda-config.js'; | ||
} | ||
var config = {}; | ||
try { | ||
config = require(process.cwd() + "/lambda-config.js"); | ||
config = require(process.cwd() + "/" + opts.configFile); | ||
} catch(err) {} | ||
@@ -94,3 +98,3 @@ | ||
try { | ||
var config = require(process.cwd() + "/lambda-config.js"); | ||
var config = require(process.cwd() + "/" + opts.configFile); | ||
} catch(err) { | ||
@@ -177,2 +181,1 @@ gutil.log("lambduh-gulp upload requires a ./lambda-config.js file to return a js object"); | ||
}; | ||
{ | ||
"name": "lambduh-gulp", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Adds zip and upload gulp tasks for a streamlined AWS Lambda workflow", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
9941
6
155