Skip to content

Commit 169e6db

Browse files
authored
Pass config to Publish Function (#1)
1 parent 4828ac4 commit 169e6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const publishLambda = async ({functionName, region, dryRun}) => {
174174
return
175175
}
176176

177-
await lambda.publishVersion().promise()
177+
await lambda.publishVersion(config).promise()
178178

179179
console.log('Successfully published new Lambda version.')
180180
}

0 commit comments

Comments
 (0)