diff --git a/lib/main.js b/lib/main.js index 7a5a1d6..01fb7d3 100644 --- a/lib/main.js +++ b/lib/main.js @@ -240,7 +240,7 @@ Lambda.prototype.deploy = function( program ) { // remove temp file fs.unlinkSync( tmpfile ) - lambdaV2.createFunction( paramsV2, function( err, data ) { + lambdaV2.createFunction( paramsV2, function( err ) { if ( err && err.code !== 'ResourceConflictException') { console.log("ERROR:", err ) if ( _this.settings.exitOnError !== false )