Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Modify to Promise.resolve
  • Loading branch information
abetomo committed Dec 14, 2017
commit 4199c2e8945ca361d082c6cbcb8536b74e3ced8a
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ so you can easily test run multiple events.
console.log('=> Reading event source file to memory')
const eventSourceList = this._eventSourceList(program)

return new Promise((resolve, reject) => {
return Promise.resolve().then(() => {
console.log('=> Uploading zip file to AWS Lambda ' + region + ' with parameters:')
console.log(params)

Expand Down