nfour / serverless-build-plugin

A Node.js focused build plugin for serverless.
MIT License
41 stars 9 forks source link

Issues with wrong functions deploying in 0.5 #11

Closed zyrorl closed 8 years ago

zyrorl commented 8 years ago

It appears there's a problem where the zip artifact file generated is being saved to the "this" variable. Given that serverless only instantiates the class once, and runs build() for every function, it can lead to a race condition where the variable is overwritten by other asynchronous running builds.

nfour commented 8 years ago

Closed till can be tested in latest version.