mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Calling .then here creates a new promise. One that is not returned and generating a rejection within that promise can lead to unhandledRejection events being inappropriately raised. As such, don't declare unneeded variables.