Skip to content

Commit 358ed80

Browse files
StefanoDalpiazDeviaVir
authored andcommitted
Fixed Publish parameter not working when updating existing function (#138)
1 parent 3e4cfed commit 358ed80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ Lambda.prototype._uploadExisting = function(lambda, params, cb) {
322322
return lambda.updateFunctionCode({
323323
'FunctionName': params.FunctionName,
324324
'ZipFile': params.Code.ZipFile,
325-
'Publish': params.publish
325+
'Publish': params.Publish
326326
}, function(err, data) {
327327
if(err) {
328328
return cb(err, data);

0 commit comments

Comments
 (0)